...->sprintf (...)

Tim Waugh <[email protected]>
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
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.
*/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCLwZsHU/d4jnpWe0RAtsGAJ0a69hfZkL+Vqk4WjNJbyVYLG5VWQCfe3wx
FXNnUQVGVumlkCsI+FBQJ3E=
=7rb9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.