Hi,
I have a very strange issue when compiling base on MinGW.
If I compile without ICU, everything is fine!
If I enable icu, I get this failure:
gcc NSError+GNUstepBase.m -c \
-MMD -MP -Wall -Wdeclaration-after-statement
-DNO_GNUSTEP=1 -DGNUS
TEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1
-DGNUSTEP_BASE_
LIBRARY=1 -DGNUSTEP_WITH_DLL -fno-strict-aliasing
-fno-omit-frame-pointer -Wall
-DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -march=i586 -fgnu-runtime
-fgnu-runtime
-DBUILD_libgnustep_base_DLL=1 -fconstant-string-class=NSConstantString
-I../. -
I../ -I../../Headers -I. -I/home/multix/GNUstep/Library/Headers
-I/GNUstep/Local
/Library/Headers -I/GNUstep/System/Library/Headers
-I/GNUstep/Local/Library/Head
ers -I/GNUstep/Local/Library/Headers -I/GNUstep/System/Library/Headers
-I/GNUste
p/Local/Library/Headers -IC:/GNUstep/lib/libffi-3.2.1/include
-I/mingw/include/l
ibxml2 -IC:/GNUstep/include -IC:/GNUstep/include/p11-kit-1 \
-o obj/Additions.obj/NSError+GNUstepBase.m.o
In file included from NSData+GNUstepBase.m:27:0:
../../Headers/Foundation/NSByteOrder.h: In function 'NSSwapLong':
../../Headers/Foundation/NSByteOrder.h:361:3: error: incompatible type
for argument 1 of 'GSSwapI128'
../../Headers/Foundation/NSByteOrder.h:167:1: note: expected 'gsu128'
but argument is of type 'long unsigned int'
make[4]: *** [obj/Additions.obj/NSData+GNUstepBase.m.o] Error 1
make[4]: *** Waiting for unfinished jobs....
GSConfig.h defines:
typedef struct { gsu8 a[16]; } gsu128;
I really don't see in NSByteOrder sometthing which interacts with ICU!
what's wrong?
gsu128 is defined differently? it is not! that is with or without ICU
GSConfig.h has the same line. This confuses me.
Riccardo
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev