Curtis Olson wrote:
On 12/15/06, *Donn Washburn* wrote:

    Hey Group;

    I am not a programmer so I may be emailing in the wrong spot.

    Howeve, every version of CVS Flightgear version lately has had the same
    problem dealing with a depreciated istream.h or iostream.h in various
    SuSE 10.# releases. I believe the problem is with the G++ /backward/i*.h
    headers.  Please note that the stable release of flightgear 0.9.10 (as I
    remember) worked.  This error is always in the Aircraft, Navaids and
    one
    more .hxx files.  If it would be helpful I can ship the complete error.

    Info on 10.2 rc1
    gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
    g++ (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
    Copyright (C) 2006 Free Software Foundation, Inc.
    /usr/include/c++/4.1.2/backward/



This must be something new to v4.1.2. I'm running v4.1.1 here with Fedora Core 6 and haven't noticed any similar problems. For anyone who isn't running gcc-4.1.2 and can't reproduce the problem, certainly posting the error message will be helpful.

Best regards,

Curt.

As requested - fgfs.err

:~> ls /usr/include/c++/4.1.2/backward/
algobase.h  defalloc.h  hashtable.h  list.h      pair.h   streambuf.h
algo.h      deque.h     heap.h       map.h       queue.h  stream.h
alloc.h     fstream.h iomanip.h  multimap.h  rope.h  strstream
backward_warning.h function.h iostream.h multiset.h  set.h  tempbuf.h
bvector.h   hash_map.h  istream.h    new.h       slist.h  tree.h
complex.h   hash_set.h  iterator.h   ostream.h   stack.h  vector.h


--
73 de Donn Washburn
307 Savoy Street     Email: " [EMAIL PROTECTED] "
Sugar Land, TX 77478 LL# 1.281.242.3256
Ham Callsign N5XWB   HAMs : " [EMAIL PROTECTED] "
VoIP via Gizmo: bmw_87kbike / via Skype: n5xwbg
BMW MOA #: 4146 - Ambassador
      " http://counter.li.org " #279316
Error coming from every CVS version but not from 0.9.10

Seems to be the cause of the error "In function ‘std::istream& 
operator>>(std::istream&, FGNavRecord&)’"

make[2]: Entering directory 
`/mnt/hdb1/f/Flight/FlightGear-0.9/source/src/Aircraft'
if g++ -Wno-deprecated -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. 
-I../../src  -I/usr/X11R6/include -I/usr/local/include  -g -O2 -I/usr 
-D_REENTRANT -MT aircraft.o -MD -MP -MF ".deps/aircraft.Tpo" -c -o aircraft.o 
aircraft.cxx; \
        then mv -f ".deps/aircraft.Tpo" ".deps/aircraft.Po"; else rm -f 
".deps/aircraft.Tpo"; exit 1; fi
../../src/Navaids/navrecord.hxx: In function ‘std::istream& 
operator>>(std::istream&, FGNavRecord&)’:
../../src/Navaids/navrecord.hxx:186: error: ‘fromGeod’ is not a member of 
‘SGVec3d’
../../src/Cockpit/hud.hxx: In member function ‘int 
fgText::getStringWidth(char*)’:
../../src/Cockpit/hud.hxx:260: error: ‘roundToInt’ is not a member of 
‘SGMiscf’
../../src/Cockpit/hud.hxx: In member function ‘int fgText::StringWidth()’:
../../src/Cockpit/hud.hxx:270: error: ‘roundToInt’ is not a member of 
‘SGMiscf’
../../src/Cockpit/hud.hxx: In member function ‘void fgText::Draw()’:
../../src/Cockpit/hud.hxx:328: error: ‘roundToInt’ is not a member of 
‘SGMiscf’
../../src/Cockpit/hud.hxx:328: error: ‘roundToInt’ is not a member of 
‘SGMiscf’
../../src/Cockpit/hud.hxx: In member function ‘int 
instr_item::getStringWidth(char*)’:
../../src/Cockpit/hud.hxx:464: error: ‘roundToInt’ is not a member of 
‘SGMiscf’
make[2]: *** [aircraft.o] Error 1
make[2]: Leaving directory 
`/mnt/hdb1/f/Flight/FlightGear-0.9/source/src/Aircraft'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/hdb1/f/Flight/FlightGear-0.9/source/src'
make: *** [all-recursive] Error 1
m1l:/mnt/hdb1/f/Flight/FlightGear-0.9/source #  
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to