Problems compiling gpsd 2.37 on Fedora 7 x86_64

Douglas E. Warner silfreed at silfreed.net
Wed Mar 19 18:18:19 UTC 2008


On Wednesday 19 March 2008 10:42:44 Jerry James wrote:
> >  Any ideas what might be going on here?
>
> This is what happens when a macro is defined inside a macro
> invocation.  The "snprintf" function is actually a macro, and the gpsd
> code is trying to define a new macro, ZEROIZE, right in the middle of
> the parameter list.  The expansion of the snprintf macro happens
> before ZEROIZE gets defined, so the final expansion still has the
> ZEROIZE tokens in it.  This is an upstream bug.  They've got to move
> the ZEROIZE definition to before the snprintf call.
>
> I know this because I made the same mistake in the XEmacs code. :-)

Thanks Jerry, I'll bring this up with upstream and see what they say.

-Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080319/cdd053ce/attachment.sig>


More information about the fedora-devel-list mailing list