Re: [Exip-develop] Regarding 'Decimal' data type
Embeddable EXI Processor in C
Status: Alpha
Brought to you by:
kjussakov
|
From: Rumen K. <kju...@gm...> - 2012-02-14 10:00:04
|
Hi Durgaprasad, This is a known issue. The _Decimal64 type is a fixed point decimal number defined as a GNU extention so I would guess you are not using gcc for compilation. This will be fixed in the next release. A temporary fix that you can do is to put the following line: #define EXIP_DECIMAL float in build/gcc/pc/exipConfig.h It does not fix the problem with the decimals but at least compiles. Regards, Rumen On Tue, Feb 14, 2012 at 6:45 AM, Durgaprasad Pawar < dur...@gm...> wrote: > Hi, > I am having a problem while compiling the source code for exip-0.3. > Can you please help me with this? I have described the problem in the > e-mail below. > > Regards, > DP > > > ---------- Forwarded message ---------- > From: Durgaprasad Pawar <dur...@gm...> > Date: Tue, Feb 14, 2012 at 11:12 AM > Subject: Regarding 'Decimal' data type > To: exi...@li... > > > Hi, > I am trying to compile the source code of 'exip-0.3'. However, it is > failing to find the definition of 'Decimal'. > > Following is the error message that I get after doing 'make all' > > > ################################################################################ > > mkdir -p ../../bin > make: Warning: File `../../include/procTypes.h' has modification time > 6.7e+03 s in the future > gcc -c -Wpacked -Wall -O0 -g -I../../src/common/include > -I../../src/grammar/include -I../../src/stringTables/include > -I../../src/contentIO/include -I../../src/streamIO/include > -I../../src/grammarGen/include -I../../include -Ipc > ../../src/common/src/ASCII_stringManipulate.c -o > ../../bin/ASCII_stringManipulate.o > In file included from ../../include/stringManipulate.h:47, > from ../../src/common/src/ASCII_stringManipulate.c:45: > ../../include/procTypes.h:199: error: parse error before "Decimal" > ../../include/procTypes.h:199: warning: type defaults to `int' in > declaration of `Decimal' > ../../include/procTypes.h:199: warning: data definition has no type or > storage class > make: *** [../../bin/ASCII_stringManipulate.o] Error 1 > > > ################################################################################ > > The procTypes.h file has following for 'Decimal' > > #ifndef EXIP_DECIMAL > # define EXIP_DECIMAL _Decimal64 > #endif > > EXIP_DECIMAL Decimal; > > > Do I need to declare my own definition of Decimal here? Or am I missing to > include some files that contain this definition? > > > Regards, > DP > > |