BUG? Spirit Grammar_def
I'm trying to migrate my code from VSC++ 6 to VSC++ 2008 express edition and from Intel compiler to Microsoft compiler. Everything were easy to migrate except that I'm receiving this errors now:
1>------ Build started: Project: Base, Configuration: Debug Win32 ------
1>Compiling... 1>DefaultScriptReader.cpp 1>Warning: This header is deprecated. Please use:
boost/spirit/include/classic.hpp
1>Warning: This header is deprecated. Please use:
boost/spirit/include/classic_dynamic.hpp
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/dynamic/lazy.hpp(33)
: error C2143: syntax error : missing ';' before '<'
1>
c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/dynamic/lazy.hpp(53) : see reference to class template instantiation 'boost::spirit::lazy_parser<ActorT>' being compiled
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/dynamic/lazy.hpp(33)
: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/dynamic/lazy.hpp(34)
: error C2238: unexpected token(s) preceding ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/dynamic/lazy.hpp(40)
: error C2065: 'actor_result_t' : undeclared identifier
1>
c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/dynamic/lazy.hpp(42) : see reference to class template instantiation 'boost::spirit::lazy_parser<ActorT>::result<ScannerT>' being compiled
1>Warning: This header is deprecated. Please use:
boost/spirit/include/phoenix1.hpp
1>Warning: This header is deprecated. Please use:
boost/spirit/include/classic_grammar_def.hpp
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(104)
: error C2039: 'nil_t' : is not a member of 'boost::phoenix'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(112)
: error C2039: 'nil_t' : is not a member of 'boost::phoenix'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(180)
: error C2143: syntax error : missing ';' before '<'
1>
c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(299) : see reference to class template instantiation 'boost::spirit::grammar_def
' being compiled
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(180)
: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(187)
: error C2238: unexpected token(s) preceding ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(277)
: error C2143: syntax error : missing ';' before '<'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(277)
: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(277)
: error C2238: unexpected token(s) preceding ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(277)
: error C2988: unrecognizable template declaration/definition
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(277)
: error C2059: syntax error : '<'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(297)
: error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(298)
: error C2760: syntax error : expected '{' not ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(299)
: fatal error C1075: end of file found before the left brace '{' at 'c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/classic/utility/grammar_def.hpp(54)' was matched
1>Build log was saved at
"file://c:\Desenvolvimento\DFF\VC9\Base\Debug\BuildLog.htm"
1>Base - 17 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== How you can see, the MS Compiler shows syntax errors on boost library. I found on boost site that this compiler, version 9, is compatible to the library. So, what is going on to my code? Thanks Leandro Lima
I'm trying to migrate my code from VSC++ 6 to VSC++ 2008 express edition and from Intel compiler to Microsoft compiler. Everything were easy to migrate except that I'm receiving this errors now:
Without being able to actually see your code that's very difficult to answer. Could you please provide a minimal (but nevertheless full) example exposing your problem? Regards Hartmut
1>------ Build started: Project: Base, Configuration: Debug Win32 ----- - 1>Compiling... 1>DefaultScriptReader.cpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_dynamic.hpp 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/dynamic/lazy.hpp(33) : error C2143: syntax error : missing ';' before '<' 1> 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(53) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>' being compiled 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(33) : error C4430: missing type specifier - 1>int assumed. Note: C++ does not support default-int 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/dynamic/lazy.hpp(34) : error C2238: unexpected token(s) preceding ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(40) : error C2065: 'actor_result_t' : 1>undeclared identifier 1> 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(42) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>::result<ScannerT>' 1>being compiled 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/phoenix1.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_grammar_def.hpp 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(104) : error C2039: 'nil_t' : is not a member of 'boost::phoenix' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(112) : error C2039: 'nil_t' : is not a member of 'boost::phoenix' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(180) : error C2143: syntax error : missing ';' before '<' 1> 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(299) : see reference to class template 1>instantiation 'boost::spirit::grammar_def
' 1>being compiled 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(180) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(187) : error C2238: unexpected token(s) preceding ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(277) : error C2143: syntax error : missing ';' before '<' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(277) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(277) : error C2238: unexpected token(s) preceding ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(277) : error C2988: unrecognizable 1>template declaration/definition 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(277) : error C2059: syntax error : '<' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(297) : error C2334: unexpected 1>token(s) preceding ':'; skipping apparent function body 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(298) : error C2760: syntax error : expected '{' not ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(299) : fatal error C1075: end of file found before the left brace '{' at 'c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/ classic/utility/grammar_def.hpp(54)' was matched Build log was saved at "file://c:\Desenvolvimento\DFF\VC9\Base\Debug\BuildLog.htm" 1>Base - 17 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== How you can see, the MS Compiler shows syntax errors on boost library. I found on boost site that this compiler, version 9, is compatible to the library. So, what is going on to my code?
Thanks Leandro Lima
What if you work out the warnings at first? I remember having some issues
when compiling a little compiler of mine under newer spirit, though I don't
remember if it went beyond warning diagnostics.
Regards
Sebastian Mach
2009/8/21 Hartmut Kaiser
I'm trying to migrate my code from VSC++ 6 to VSC++ 2008 express edition and from Intel compiler to Microsoft compiler. Everything were easy to migrate except that I'm receiving this errors now:
Without being able to actually see your code that's very difficult to answer. Could you please provide a minimal (but nevertheless full) example exposing your problem?
Regards Hartmut
1>------ Build started: Project: Base, Configuration: Debug Win32 ----- - 1>Compiling... 1>DefaultScriptReader.cpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_dynamic.hpp 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/dynamic/lazy.hpp(33) : error C2143: syntax error : missing ';' before '<' 1> 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(53) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>' being compiled 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(33) : error C4430: missing type specifier - 1>int assumed. Note: C++ does not support default-int 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/dynamic/lazy.hpp(34) : error C2238: unexpected token(s) preceding ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(40) : error C2065: 'actor_result_t' : 1>undeclared identifier 1> 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(42) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>::result<ScannerT>' 1>being compiled 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/phoenix1.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_grammar_def.hpp 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(104) : error C2039: 'nil_t' : is not a member of 'boost::phoenix' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(112) : error C2039: 'nil_t' : is not a member of 'boost::phoenix' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(180) : error C2143: syntax error : missing ';' before '<' 1> 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(299) : see reference to class template 1>instantiation 'boost::spirit::grammar_def
' 1>being compiled 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(180) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(187) : error C2238: unexpected token(s) preceding ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(277) : error C2143: syntax error : missing ';' before '<' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(277) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(277) : error C2238: unexpected token(s) preceding ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(277) : error C2988: unrecognizable 1>template declaration/definition 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(277) : error C2059: syntax error : '<' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(297) : error C2334: unexpected 1>token(s) preceding ':'; skipping apparent function body 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(298) : error C2760: syntax error : expected '{' not ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(299) : fatal error C1075: end of file found before the left brace '{' at 'c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/ classic/utility/grammar_def.hpp(54)' was matched Build log was saved at "file://c:\Desenvolvimento\DFF\VC9\Base\Debug\BuildLog.htm" 1>Base - 17 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== How you can see, the MS Compiler shows syntax errors on boost library. I found on boost site that this compiler, version 9, is compatible to the library. So, what is going on to my code?
Thanks Leandro Lima
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
It's complicated to me. This code is from my job and I can't expose it on
Internet and even I could, I really don't know where the problem could be.
Leandro Lima
On Fri, Aug 21, 2009 at 11:55 AM, Hartmut Kaiser
I'm trying to migrate my code from VSC++ 6 to VSC++ 2008 express edition and from Intel compiler to Microsoft compiler. Everything were easy to migrate except that I'm receiving this errors now:
Without being able to actually see your code that's very difficult to answer. Could you please provide a minimal (but nevertheless full) example exposing your problem?
Regards Hartmut
1>------ Build started: Project: Base, Configuration: Debug Win32 ----- - 1>Compiling... 1>DefaultScriptReader.cpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_dynamic.hpp 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/dynamic/lazy.hpp(33) : error C2143: syntax error : missing ';' before '<' 1> 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(53) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>' being compiled 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(33) : error C4430: missing type specifier - 1>int assumed. Note: C++ does not support default-int 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/dynamic/lazy.hpp(34) : error C2238: unexpected token(s) preceding ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(40) : error C2065: 'actor_result_t' : 1>undeclared identifier 1> 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/dynamic/lazy.hpp(42) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>::result<ScannerT>' 1>being compiled 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/phoenix1.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_grammar_def.hpp 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(104) : error C2039: 'nil_t' : is not a member of 'boost::phoenix' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(112) : error C2039: 'nil_t' : is not a member of 'boost::phoenix' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(180) : error C2143: syntax error : missing ';' before '<' 1> 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(299) : see reference to class template 1>instantiation 'boost::spirit::grammar_def
' 1>being compiled 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(180) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(187) : error C2238: unexpected token(s) preceding ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(277) : error C2143: syntax error : missing ';' before '<' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(277) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(277) : error C2238: unexpected token(s) preceding ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(277) : error C2988: unrecognizable 1>template declaration/definition 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(277) : error C2059: syntax error : '<' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(297) : error C2334: unexpected 1>token(s) preceding ':'; skipping apparent function body 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home /classic/utility/grammar_def.hpp(298) : error C2760: syntax error : expected '{' not ';' 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home / 1>classic/utility/grammar_def.hpp(299) : fatal error C1075: end of file found before the left brace '{' at 'c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home/ classic/utility/grammar_def.hpp(54)' was matched Build log was saved at "file://c:\Desenvolvimento\DFF\VC9\Base\Debug\BuildLog.htm" 1>Base - 17 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== How you can see, the MS Compiler shows syntax errors on boost library. I found on boost site that this compiler, version 9, is compatible to the library. So, what is going on to my code?
Thanks Leandro Lima
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
It's complicated to me. This code is from my job and I can't expose it on Internet and even I could, I really don't know where the problem could be.
You don't have to send the full code. I would prefer to see a really minimalistic version anyway. And minimizing the example to the bare minimum should help you better understanding what's wrong as well. Please feel free to send your minimal example off-list to me, though. This way it won't get published on the web. Regards Hartmut
Leandro Lima On Fri, Aug 21, 2009 at 11:55 AM, Hartmut Kaiser
wrote: I'm trying to migrate my code from VSC++ 6 to VSC++ 2008 express edition and from Intel compiler to Microsoft compiler. Everything were easy to migrate except that I'm receiving this errors now: Without being able to actually see your code that's very difficult to answer. Could you please provide a minimal (but nevertheless full) example exposing your problem?
Regards Hartmut
1>------ Build started: Project: Base, Configuration: Debug Win32 1>----- - 1>Compiling... 1>DefaultScriptReader.cpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_dynamic.hpp
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/dynamic/lazy.hpp(33) : error C2143: syntax error : missing ';' before '<' 1>
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/dynamic/lazy.hpp(53) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>' being compiled
1>e / 1>classic/dynamic/lazy.hpp(33) : error C4430: missing type specifier
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom -
1>int assumed. Note: C++ does not support default-int
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/dynamic/lazy.hpp(34) : error C2238: unexpected token(s) preceding ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/dynamic/lazy.hpp(40) : error C2065: 'actor_result_t' : 1>undeclared identifier 1>
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/dynamic/lazy.hpp(42) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>::result<ScannerT>' 1>being compiled 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/phoenix1.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_grammar_def.hpp
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(104) : error C2039: 'nil_t' : is not a member of 'boost::phoenix'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(112) : error C2039: 'nil_t' : is not a member of 'boost::phoenix'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(180) : error C2143: syntax error : missing ';' before '<' 1>
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(299) : see reference to class template 1>instantiation 'boost::spirit::grammar_def
' 1>being compiled 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(180) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(187) : error C2238: unexpected token(s) preceding ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(277) : error C2143: syntax error : missing ';' before '<'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(277) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(277) : error C2238: unexpected token(s) preceding ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(277) : error C2988: unrecognizable 1>template declaration/definition
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(277) : error C2059: syntax error : '<'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(297) : error C2334: unexpected 1>token(s) preceding ':'; skipping apparent function body
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(298) : error C2760: syntax error : expected '{' not ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(299) : fatal error C1075: end of 1>file found before the left brace '{' at
/ classic/utility/grammar_def.hpp(54)' was matched Build log was saved at "file://c:\Desenvolvimento\DFF\VC9\Base\Debug\BuildLog.htm" 1>Base - 17 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
How you can see, the MS Compiler shows syntax errors on boost
'c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home library.
I found on boost site that this compiler, version 9, is compatible to the library. So, what is going on to my code?
Thanks Leandro Lima
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Hi Hartmut,First I would like to thank you for the regard and say that I'll
try to square the code with the problem and send it to you.
Grateful,
Leandro Lima
On Fri, Aug 21, 2009 at 12:30 PM, Hartmut Kaiser
It's complicated to me. This code is from my job and I can't expose it on Internet and even I could, I really don't know where the problem could be.
You don't have to send the full code. I would prefer to see a really minimalistic version anyway. And minimizing the example to the bare minimum should help you better understanding what's wrong as well.
Please feel free to send your minimal example off-list to me, though. This way it won't get published on the web.
Regards Hartmut
Leandro Lima On Fri, Aug 21, 2009 at 11:55 AM, Hartmut Kaiser
wrote: I'm trying to migrate my code from VSC++ 6 to VSC++ 2008 express edition and from Intel compiler to Microsoft compiler. Everything were easy to migrate except that I'm receiving this errors now: Without being able to actually see your code that's very difficult to answer. Could you please provide a minimal (but nevertheless full) example exposing your problem?
Regards Hartmut
1>------ Build started: Project: Base, Configuration: Debug Win32 1>----- - 1>Compiling... 1>DefaultScriptReader.cpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_dynamic.hpp
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/dynamic/lazy.hpp(33) : error C2143: syntax error : missing ';' before '<' 1>
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/dynamic/lazy.hpp(53) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>' being compiled
1>e / 1>classic/dynamic/lazy.hpp(33) : error C4430: missing type specifier
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom -
1>int assumed. Note: C++ does not support default-int
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/dynamic/lazy.hpp(34) : error C2238: unexpected token(s) preceding ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/dynamic/lazy.hpp(40) : error C2065: 'actor_result_t' : 1>undeclared identifier 1>
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/dynamic/lazy.hpp(42) : see reference to class template 1>instantiation 'boost::spirit::lazy_parser<ActorT>::result<ScannerT>' 1>being compiled 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/phoenix1.hpp 1>Warning: This header is deprecated. Please use: 1>boost/spirit/include/classic_grammar_def.hpp
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(104) : error C2039: 'nil_t' : is not a member of 'boost::phoenix'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(112) : error C2039: 'nil_t' : is not a member of 'boost::phoenix'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(180) : error C2143: syntax error : missing ';' before '<' 1>
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(299) : see reference to class template 1>instantiation 'boost::spirit::grammar_def
' 1>being compiled 1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(180) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(187) : error C2238: unexpected token(s) preceding ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(277) : error C2143: syntax error : missing ';' before '<'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(277) : error C4430: missing type 1>specifier - int assumed. Note: C++ does not support default-int
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(277) : error C2238: unexpected token(s) preceding ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(277) : error C2988: unrecognizable 1>template declaration/definition
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(277) : error C2059: syntax error : '<'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(297) : error C2334: unexpected 1>token(s) preceding ':'; skipping apparent function body
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e /classic/utility/grammar_def.hpp(298) : error C2760: syntax error : expected '{' not ';'
1>c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/hom
1>e / 1>classic/utility/grammar_def.hpp(299) : fatal error C1075: end of 1>file found before the left brace '{' at
/ classic/utility/grammar_def.hpp(54)' was matched Build log was saved at "file://c:\Desenvolvimento\DFF\VC9\Base\Debug\BuildLog.htm" 1>Base - 17 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
How you can see, the MS Compiler shows syntax errors on boost
'c:\Desenvolvimento\dff_dependencies_windows\include\boost/spirit/home library.
I found on boost site that this compiler, version 9, is compatible to the library. So, what is going on to my code?
Thanks Leandro Lima
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Hartmut Kaiser
-
Leandro Santos de Lima
-
Sebastian Mach