|
Boost Users : |
From: Salles, Joaquim Campos (Joaquim.Salles_at_[hidden])
Date: 2007-10-25 14:40:20
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Vladimir Prus
Sent: quinta-feira, 25 de outubro de 2007 16:10
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] boost-1_34_1 in program_options getting
compilingerror : parse error before >
Salles, Joaquim Campos wrote:
I'm afraid this compiler might be too old. The line in question is not
particularly
tricky, so I don't know what compiler does not like.
----------------------------------------------
Yes the compiler is too old, but I can't change the version (!)
Bellow you can see the output from make of program_options and line of
parses.h.
Thanks,
Joaquim
----------------------------------------------
/** Parse a config file.
*/
template<class charT>
#if ! BOOST_WORKAROUND(__ICL, BOOST_TESTED_AT(700))
BOOST_PROGRAM_OPTIONS_DECL
#endif
basic_parsed_options<charT>
*** line 156 of parses.hpp***>
parse_config_file(std::basic_istream<charT>&, const
options_description&);
-----------------------------------------------
[root_at_devel73 boost_1_34_1]# make 1>erro.lst 2>&1
./tools/jam/src/bin.linuxx86/bjam --user-config=user-config.jam
--with-program_options
...patience...
...found 546 targets...
...updating 68 targets...
gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/config_
file.o
In file included from libs/program_options/src/config_file.cpp:10:
boost/program_options/detail/config_file.hpp:118: parse error before `<'
boost/program_options/detail/config_file.hpp:126: parse error before `>'
boost/program_options/detail/config_file.hpp:141: parse error before `<'
boost/program_options/detail/config_file.hpp:141: confused by earlier
errors, bailing out
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -pthread
-DBOOST_ALL_NO_LIB=1 -DBOOST_PROGRAM_OPTIONS_DYN_LINK=1 -I"." -c -o
"bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/config
_file.o" "libs/program_options/src/config_file.cpp"
...failed gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/config_
file.o...
gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/options
_description.o
In file included from
libs/program_options/src/options_description.cpp:13:
boost/program_options/parsers.hpp:156: parse error before `>'
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -pthread
-DBOOST_ALL_NO_LIB=1 -DBOOST_PROGRAM_OPTIONS_DYN_LINK=1 -I"." -c -o
"bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/option
s_description.o" "libs/program_options/src/options_description.cpp"
...failed gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/options
_description.o...
gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/parsers
.o
In file included from libs/program_options/src/parsers.cpp:11:
boost/program_options/parsers.hpp:156: parse error before `>'
In file included from libs/program_options/src/parsers.cpp:15:
boost/program_options/detail/config_file.hpp:118: parse error before `<'
boost/program_options/detail/config_file.hpp:126: parse error before `>'
boost/program_options/detail/config_file.hpp:141: parse error before `<'
boost/program_options/detail/config_file.hpp:141: confused by earlier
errors, bailing out
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -pthread
-DBOOST_ALL_NO_LIB=1 -DBOOST_PROGRAM_OPTIONS_DYN_LINK=1 -I"." -c -o
"bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/parser
s.o" "libs/program_options/src/parsers.cpp"
...failed gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/parsers
.o...
gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/variabl
es_map.o
In file included from libs/program_options/src/variables_map.cpp:9:
boost/program_options/parsers.hpp:156: parse error before `>'
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -pthread
-DBOOST_ALL_NO_LIB=1 -DBOOST_PROGRAM_OPTIONS_DYN_LINK=1 -I"." -c -o
"bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/variab
les_map.o" "libs/program_options/src/variables_map.cpp"
...failed gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/variabl
es_map.o...
gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/utf8_co
decvt_facet.o
In file included from libs/detail/utf8_codecvt_facet.cpp:13,
from
libs/program_options/src/utf8_codecvt_facet.cpp:15:
boost/detail/utf8_codecvt_facet.hpp:81:18: locale: No such file or
directory
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -pthread
-DBOOST_ALL_NO_LIB=1 -DBOOST_PROGRAM_OPTIONS_DYN_LINK=1 -I"." -c -o
"bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/utf8_c
odecvt_facet.o" "libs/program_options/src/utf8_codecvt_facet.cpp"
...failed gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/utf8_co
decvt_facet.o...
gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/convert
.o
libs/program_options/src/convert.cpp:8:18: locale: No such file or
directory
libs/program_options/src/convert.cpp:11:18: locale: No such file or
directory
In file included from
boost/program_options/detail/utf8_codecvt_facet.hpp:19,
from libs/program_options/src/convert.cpp:19:
boost/detail/utf8_codecvt_facet.hpp:81:18: locale: No such file or
directory
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -pthread
-DBOOST_ALL_NO_LIB=1 -DBOOST_PROGRAM_OPTIONS_DYN_LINK=1 -I"." -c -o
"bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/conver
t.o" "libs/program_options/src/convert.cpp"
...failed gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/convert
.o...
gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/winmain
.o
In file included from libs/program_options/src/winmain.cpp:7:
boost/program_options/parsers.hpp:156: parse error before `>'
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -pthread
-DBOOST_ALL_NO_LIB=1 -DBOOST_PROGRAM_OPTIONS_DYN_LINK=1 -I"." -c -o
"bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/winmai
n.o" "libs/program_options/src/winmain.cpp"
...failed gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi/winmain
.o...
...skipped
<pbin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi>libbo
ost_program_options-gcc296-mt-d-1_34_1.so.1.34.1 for lack of
<pbin.v2/libs/program_options/build/gcc-2.96/debug/threading-multi>confi
g_file.o...
gcc.compile.c++
bin.v2/libs/program_options/build/gcc-2.96/release/threading-multi/confi
g_file.o
...interrupted
...failed updating 7 targets...
...skipped 1 target...
Not all Boost libraries built properly.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net