我下面的快速入门指南的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