From: Tim W. <tw...@re...> - 2005-03-09 14:21:42
|
Hi, I just tried compiling xmlroff 0.3.2 and I got this error: fo-object.c: In function 'fo_object_sprintf': fo-object.c:251: error: 'struct _FoObjectClass' has no member named '__builtin___sprintf_chk' fo-object.c:251: error: syntax error before ')' token It's because sprintf is a macro (I have -D_FORTIFY_SOURCE=2 in my CFLAGS). Names of C functions that may be implemented as macros cannot be used as user functions or variables, and that includes this struct member. I think it needs to be changed to something other than 'sprintf'. Tim. */ |