guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix warning about extra semicolon in guile-snarf output


From: Julian Graham
Subject: [PATCH] Fix warning about extra semicolon in guile-snarf output
Date: Sun, 18 Sep 2011 17:09:50 -0400

Hey Guilers,

Long time no see!  I was porting some code I wrote to use
`guile-snarf' for doing gsubr binding, and I noticed that if you've
got -pedantic and -Wall turned on, GCC complains that the code
generated by snarfing has an extra semicolon:

  "ISO C does not allow extra ; outside of a function"

The attached patch fixes that issue by removing a semicolon from the
expansion of `SCM_STATIC_SUBR_OBJVECT'.  Anyone mind if I apply it?


Regards,
Julian

Attachment: 0001-Remove-extraneous-semicolon-from-SCM_STATIC_SUBR_OBJ.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]