A lot of warnings from silcatomic.h

Pekka Riikonen priikone at iki.fi
Tue Jun 5 15:56:43 CEST 2007


: /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.

	Pekka
________________________________________________________________________
 Pekka Riikonen                                 priikone at silcnet.org
 Secure Internet Live Conferencing (SILC)       http://silcnet.org/


More information about the silc-devel mailing list