Quoting Erik Hofman:

> Georg Vollnhals wrote:
>
> > But the bash and me get more and more friends  :-) )
> >
> > (not translated, I only changed the German expressions
> > Zeichen => char Fehler   => error)
>
> No need, I can read German (and understand it as well).
> >
> > In file included from
> > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/vector:72,
> >                 from ../../simgear/math/sg_types.hxx:40,
> >                 from ../../simgear/misc/sg_path.hxx:36,
> >                 from ../../simgear/ephemeris/stardata.hxx:31,
> >                 from ephemeris.hxx:45,
> >                 from ephemeris.cxx:28:
> > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In
> > member function `void std::vector<bool,
> > _Alloc>::_M_insert_range(std::_Bit_iterator, _ForwardIterator,
> > _ForwardIterator, std::forward_iterator_tag)':
> > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:522:
> > error: expected unqualified-id vor >>(<<-char
> > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h: In
> > member function `void std::vector<bool,
> > _Alloc>::_M_fill_insert(std::_Bit_iterator, size_t, bool)':
> > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_bvector.h:823:
> > error: expected unqualified-id vor >>(<<-char
> > In file included from
>
> Ouch, this is a tough one. I've searched all over the place, but g++
> 3.4.x seems not to accept one or more of the declarations in
> math/sg_types.h which is accepted by almost all other compilers. I have
> no clue which one  it doesn't accept :-(

Does it help to put #include <vector> *before* #include <simgear/compiler.h> in
math/sg_types.hxx

-Fred

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to