>> Couldn't find a way to not get warnings and still have a semicolon, I'm
>> afraid.
>Really? Weird ... is the compiler/OS running punched cards? <grin>
>it's hardly a biggee. I'm curious though why it doesn't accept them though
>- the macro expands into a function declaration so the trailing semi-colon
>is equivalent to whether you can follow a function's closing brace with a
>semi-colon.
; cat -n a.c
1 extern int foo(void);
2 int foo(void) { int x = 3; }
3 ;
; gcc -c -ansi -pedantic a.c
a.c:3: warning: ANSI C does not allow extra `;' outside of a function
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]