Hi Juanjo,
The new header file src/c/features.h appears to break builds on Linux.
Indeed, on many linux distributions there already exists a header file
named feature.h. In the ECL case, it looks like <stdlib.h> is picking
the new (ECL) file as opposed of the (linux) system supplied header.
This is on openSUSE-11.2. The exact error is:
In file included from /usr/include/stdlib.h:25,
from /home/gdr/src/ecl.cvs/src/c/dpp.c:71:
/home/gdr/src/ecl.cvs/src/c/features.h:18: error: expected ‘)’ before ‘static’
In file included from /home/gdr/src/ecl.cvs/src/c/dpp.c:71:
/usr/include/stdlib.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘__BEGIN_NAMESPACE_STD’
/usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘extern’
/usr/include/stdlib.h:145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘extern’
I would suggest to rename features.h as ecl-features.h.
-- Gaby
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Ecls-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecls-list