Re: ...->sprintf (...)
Tony Graham <[email protected]>
| Newsgroups | gmane.text.xml.xmlroff.general |
|---|---|
| Message-ID | <[email protected]> |
Tim Waugh <[email protected]> writes: ... > 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'. Changed to 'print_sprintf' (which parallels existing 'debug_sprintf' name). Regards, Tony. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click