我正在按照boost::spirit的快速入门指南操作,当我包含以下内容时,我收到编译器警告:“该头文件已经过时,请使用:boost/spirit/include/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头文件进行编译时,我收到以下编译器错误:
(快速入门指南: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