Larry wrote:
>
> There is evidently a problem with my /usr/include/g++-2/stl_map.h
> file. But I don't know if there is another version I can get or not
> so does anyone have a suggestion?
>
> Here's the error:
>
> _______________________________________________________________________
>
> In file included from /usr/include/g++-2/map.h:31,
> from FGAerodynamics.h:48,
> from FGAerodynamics.cpp:39:
> /usr/include/g++-2/stl_map.h:70: warning:
> ANSI C++ forbids typedef which does not specify a type
> /usr/include/g++-2/stl_map.h:70: parse error before ;'
> /usr/include/g++-2/stl_map.h:71: syntax error before ;'
> /usr/include/g++-2/stl_map.h:73: rep_type' is not a class or namespace
> /usr/include/g++-2/stl_map.h:73: pointer' is not a class or namespace
> /usr/include/g++-2/stl_map.h:73: confused by earlier errors, bailing out
>
> _______________________________________________________________________
>
> Here are the files I am installing. I have all the other files
> installed including plib (or whatever) and whatever else is required
> but FlightGear itself won't build because of the problem with stl_map.h.
>
> SimGear-0.0.16.tar.gz
> fgfs_base.0.7.8.tar.gz
> FlightGear-0.7.8.tar.gz
>
> Thanks
> Larry
>
I doubt that there is anything wrong with stl_map.h. Note that this
file is never included directly but rather through #include <map>. What
compiler version do you have (gcc --version)?
Bernie
_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/flightgear-users