Re: A lot of warnings from silcatomic.h

Jérémy Bobbio <[email protected]> Tue, 5 Jun 2007 17:55:29 +0200
Newsgroups gmane.network.silc.devel
Message-ID <[email protected]>
On Tue, Jun 05, 2007 at 03:56:43PM +0200, Pekka Riikonen wrote:
> : /usr/local/include/silcatomic.h:1177: warning: ISO C does not allow
> : extra `;' outside of a function
> : /usr/local/include/silcatomic.h:1178: warning: ISO C does not allow
> : extra `;' outside of a function
> : 
> : Looks like a semicolon has crept into a macro
> : somewhere (I can't quite work out where though, running
> : the file through cpp).
> : 
> Yeah, there's semicolons at the end of the declaration macros which expand 
> to the end of the function declarations.  I shall remove them.

C->Haskell, which I tried to use to make a Haskell binding also chokes
on these extra semicolons.

Cheers,
-- 
Jérémy Bobbio                        .''`. 
[email protected]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-

_______________________________________________________________________
Info:    https://lists.silcnet.org/mailman/listinfo/silc-announce
Archive: https://lists.silcnet.org/pipermail/silc-announce
FAQ:     http://silcnet.org/support/faq/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGZYdx2PUjs9fQ72URAhuwAJ44ImQwguMjy4g3mPdpTiUuNGmnHACgsKIh
s0FbL7W6ZVSeD7kLT1b9si0=
=tgIz
-----END PGP SIGNATURE-----