Quoting Martin Spott : > Now as Andy promised I could have another try on big-endian machines I > decided to actually have one. But something is hindering me that wasn't > there before: > > make[3]: Entering directory `/usr/local/src/SimGear/simgear/xml' > g++ -mcpu=hypersparc -mtune=hypersparc -DHAVE_CONFIG_H -I. -I. > -I../../simgear -I../.. -I/opt/gnu/include -I/usr/local/include > -I/opt/FlightGear/include -O3 -D_REENTRANT -c -o easyxml.o `test -f > 'easyxml.cxx' || echo './'`easyxml.cxx > In file included from easyxml.cxx:3: > ../../simgear/compiler.h:473: error: conflicting declaration 'typedef signed > char int8_t' > /usr/include/sys/int_types.h:62: error: 'int8_t' has a previous declaration > as `typedef char int8_t' > ../../simgear/compiler.h:473: error: declaration of `typedef signed char > int8_t' > /usr/include/sys/int_types.h:62: error: conflicts with previous declaration > `typedef char int8_t' > ../../simgear/compiler.h:473: error: declaration of `typedef signed char > int8_t' > /usr/include/sys/int_types.h:62: error: conflicts with previous declaration > `typedef char int8_t' > ../../simgear/compiler.h:476: error: `__int64' does not name a type > ../../simgear/compiler.h:480: error: `__int64' does not name a type > > > Could the person who did the changes have a look at it and suggest what > I could try to fix it ?
lines 472 and after of simgear's compiler.h reads : 472 #if defined( _MSC_VER ) || defined(__MINGW32__) || defined(sun) 473 typedef signed char int8_t; 474 typedef signed short int16_t; 475 typedef signed int int32_t; 476 typedef signed __int64 int64_t; 477 typedef unsigned char uint8_t; 478 typedef unsigned short uint16_t; 479 typedef unsigned int uint32_t; 480 typedef unsigned __int64 uint64_t; 481 #endif You probably must refine the test in order to discard these statements that are already in another include file. -Fred _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d