Boost logo

Boost :

From: Maik Beckmann (beckmann.maik_at_[hidden])
Date: 2008-05-29 14:02:39


Am Donnerstag 29 Mai 2008 19:46:24 schrieb Hartmut Kaiser:
> Troy,
>
> > > What problem have you hit?
> >
> > Here's the error:
> >
> > gfilt -o example4 example4.cpp -I ../boost/trunk -lstdc++
>
> Hold on. Is it just lex/example4.cpp failing? It does compile for me! Did
> you change anything?
>

Don't know if it helps... but I tried to compile lex/example4.cpp using
  - gcc-3.4
  - gcc-4.2
  - gcc-4.3

<boost-trunk>
maik_at_localhost:~/workspace/boost$ svn up
Revision 45916.
</boost-trunk>

<gcc-3.4>
...
example4.cpp:207: instantiated from here
/home/maik/workspace/boost/boost/xpressive/proto/matches.hpp:139: internal
compiler error: in lookup_member, at cp/search.c:1300
Please submit a full bug report,
with preprocessed source if appropriate.
</gcc-3.4>

<gcc-4.2>
example4.cpp:239: instantiated from here
/home/maik/workspace/boost/boost/spirit/home/qi/detail/assign_to.hpp:27:
error: functional cast expression list treated as compound expression
/home/maik/workspace/boost/boost/spirit/home/qi/detail/assign_to.hpp:27:
error: invalid cast from type ‘const __gnu_cxx::__normal_iterator<char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ to
type ‘unsigned in
</gcc-4.2>

<gcc-4.3>
example4.cpp:240: instantiated from here
/home/maik/workspace/boost/boost/spirit/home/qi/detail/assign_to.hpp:27:
error: functional cast expression list treated as compound expression
/home/maik/workspace/boost/boost/spirit/home/qi/detail/assign_to.hpp:27:
error: invalid cast from type ‘const __gnu_cxx::__normal_iterator<char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ to
type ‘unsigned int’
</gcc-4.3>

Thank you for your work Hartmut,
 -- Maik


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk