我下面的快速入門指南的boost ::精神,當我包括我得到這個編譯器警告:「這頭已被棄用,請使用:升壓/精神/包括/ classic_core.hpp」我應該擔心這個嗎?提振精神頭棄用
(快速入門指南:http://spirit.sourceforge.net/distrib/spirit_1_8_5/libs/spirit/doc/quick_start.html,與節目我試圖編譯這裏的全部源:http://spirit.sourceforge.net/distrib/spirit_1_8_5/libs/spirit/example/fundamental/number_list.cpp)
編輯:此外,當我嘗試與推薦classic_core.hpp和classic_push_back_actor.hpp頭編譯,我得到以下編譯器錯誤:
test7.cpp: In function 'bool parse_numbers(const char*, __gnu_debug_def::vector<double, std::allocator<double> >&)':
test7.cpp:18: error: 'real_p' was not declared in this scope
test7.cpp:18: error: 'push_back_a' was not declared in this scope
test7.cpp:23: error: 'space_p' was not declared in this scope
test7.cpp:23: error: 'parse' was not declared in this scope
升壓的版本? – 2009-05-29 06:36:23