jaltman> The Visual C++ compiler does not compile a  .c file with C++ semantics
jaltman> unless a special command line switch is thrown.  stack.c is being
jaltman> compiled as a ANSI C program.  The compiler is correct.  
jaltman> 
jaltman>   void (*func)()
jaltman> 
jaltman> means
jaltman> 
jaltman>   void (*func)(void)
jaltman> 
jaltman> in ANSI C.

Hmm?  I thought the standard was a little more forgiving on this
particular issue.  Oh well, I guess that means we need to use another
evil cast...  'cause there's at least one compiler that will complain
if it sees a `void (*func)(...)'...

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-161 43  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis             -- [EMAIL PROTECTED]

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to