Donate Share

Toy Cars

Tracker: Bugs

5 problem when compiling 0.3.10 - ID: 2813899
Last Update: Comment added ( ssuominen )

i686-pld-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I
../../toycars_track_editor/src/Scoobie -I
../../toycars_track_editor/src/tinyxml -D_FORTIFY_SOURCE=2 -Wall -IScoobie
-Itinyxml -pthread -pthread -O2 -fno-strict-aliasing -fwrapv -march=i686
-mtune=pentium4 -gdwarf-2 -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -O2 -fno-strict-aliasing
-fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2 -MT TrackView.o -MD -MP
-MF .deps/TrackView.Tpo -c -o TrackView.o TrackView.cxx
TrackView.cxx: In function 'Fl_Image* loadImage(const char*)':
TrackView.cxx:92: error: invalid conversion from 'const char*' to 'char*'
TrackView.cxx: In member function 'virtual int TrackView::handle(int)':
TrackView.cxx:756: warning: enumeration value 'kNoTile' not handled in
switch
TrackView.cxx: In member function 'void TrackView::installMap(const
char*)':
TrackView.cxx:972: error: invalid conversion from 'const char*' to 'char*'
TrackView.cxx:978: error: invalid conversion from 'const char*' to 'char*'
TrackView.cxx:1021: warning: ignoring return value of 'int system(const
char*)', declared with attribute warn_unused_result
TrackView.cxx: In member function 'void TrackView::uninstallMap(const
char*)':
TrackView.cxx:1047: error: invalid conversion from 'const char*' to
'char*'
TrackView.cxx:1053: error: invalid conversion from 'const char*' to 'char*'


Nobody/Anonymous ( nobody ) - 2009-06-29 11:10

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2009-08-12 22:05
Sender: ssuominen

Patch for this issue is at:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/toycars/files/


Date: 2009-07-08 18:24
Sender: ssuominen

Verified, it's because of GLIBC 2.10+ in combination with GCC 4.4+ since
C++ got more strict again.

See, http://blog.flameeyes.eu/2009/07/02/how-_not_-to-fix-gcc-4-4-bugs
(This explains why and how to fix correctly)
Also, http://bugs.gentoo.org/277072 (Full build log attached)


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.