Il 12/09/2009 9.43, Viktor Szakáts ha scritto:
Hi,
This is the error:
---
gcc -I. -I../../../../../include -Wall -W -O3 -I/usr/include -
ofi_winfu.o -c ../../../fi_winfu.c
gcc -I. -I../../../../../include -Wall -W -O3 -I/usr/include -
ofi_wrp.o -c ../../../fi_wrp.c
In file included from ../../../fi_wrp.c:68:
/usr/include/FreeImage.h:157: error: conflicting types for ‘LONG’
../../../../../include/hbdefs.h:217: error: previous declaration of
‘LONG’ was here
make[1]: *** [fi_wrp.o] Error 1
---
What platform ? I will try to replicate it and I'm checking if there
is a possible solution (within my C limits).
This was tested on Linux (Ubuntu).
Here's the darwin output:
---
gcc -I. -I../../../../../include -fno-common -Wall -W -O3 -I/opt/
local/include -o fi_wrp.o -c ../../../fi_wrp.c
In file included from ../../../fi_wrp.c:68:
/opt/local/include/FreeImage.h:153: error: redefinition of typedef
‘BOOL’
../../../../../include/hbdefs.h:192: error: previous declaration of
‘BOOL’ was here
/opt/local/include/FreeImage.h:154: error: redefinition of typedef
‘BYTE’
../../../../../include/hbdefs.h:206: error: previous declaration of
‘BYTE’ was here
/opt/local/include/FreeImage.h:157: error: conflicting types for ‘LONG’
../../../../../include/hbdefs.h:217: error: previous declaration of
‘LONG’ was here
make[3]: *** [fi_wrp.o] Error 1
---
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour