Boost logo

Boost Users :

Subject: Re: [Boost-users] Some question about cross-compiling boost
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-03-01 03:02:24


邹磊 wrote:

>
> Hi,Volodya.
> I'm sorry to trouble you again. At your last respond you suggested me to quote the error message
> from the compiler. I got the message as following:
>
> ...patience...
> ...found 11853 targets...
> ...updating 10 targets...
> gcc.compile.c++ bin.v2/libs/serialization/build/gcc-3.4.3/release/threading-multi/xml_grammar.o
> In file included from libs/serialization/src/basic_xml_grammar.ipp:22,
> from libs/serialization/src/xml_grammar.cpp:63:
> ./boost/spirit/core/primitives/numerics.hpp:122: error: declaration of `template<class ScannerT>
> struct boost::spirit::sign_parser::result' ./boost/spirit/core/parser.hpp:123: error: conflicts
> with previous declaration `template<class ScannerT> struct
> boost::spirit::parser<boost::spirit::sign_parser>::result'
>

This probably means your compiler is too old to handle Boost.Serialization use of Boost.Sprit.
No, I don't have any idea why a trivial task of parsing small subset of XML requires advanced
C++ support.

If you need Boost.Serialization library, try getting a newer compiler.

- Volodya


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