[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
header issue compiling Base
From: |
Riccardo Mottola |
Subject: |
header issue compiling Base |
Date: |
Sun, 5 Nov 2017 18:17:24 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
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
- header issue compiling Base,
Riccardo Mottola <=
- Re: header issue compiling Base, Fred Kiefer, 2017/11/05
- Re: header issue compiling Base, Riccardo Mottola, 2017/11/05
- Re: header issue compiling Base, Fred Kiefer, 2017/11/05
- Re: header issue compiling Base, Riccardo Mottola, 2017/11/06
- Re: header issue compiling Base, Fred Kiefer, 2017/11/07
- Re: header issue compiling Base, Riccardo Mottola, 2017/11/12
- Re: header issue compiling Base, Fred Kiefer, 2017/11/12
- Re: header issue compiling Base, Riccardo Mottola, 2017/11/19
- Re: header issue compiling Base, Ivan Vučica, 2017/11/19