Re: A lot of warnings from silcatomic.h

"mal content" <artifact.one-gM/[email protected]> Tue, 5 Jun 2007 15:08:47 +0100
Newsgroups gmane.network.silc.devel
Message-ID <[email protected]>
On 05/06/07, Pekka Riikonen <[email protected]> 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
> :
> : This is on FreeBSD 6.2 with GCC 3.4.6, -W -Wall -pedantic
> : -stc=c99 -Wno-unused-parameter.
> :
> : 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.  With
> -pedantic you are sure to get other warnings too.
>

It's actually not too bad. The occasional warning about
character strings differing in signedness but nothing
major.

MC
_______________________________________________________________________
Info:    https://lists.silcnet.org/mailman/listinfo/silc-announce
Archive: https://lists.silcnet.org/pipermail/silc-announce
FAQ:     http://silcnet.org/support/faq/