FYI It works fine with gcc 2.95.3 (but I had to add semicolons after
"}")

On Fri, 2002-09-27 at 00:46, Per Jessen wrote:
> Allright,
> 
> I'm not getting much wiser, but the following code demonstrates
> the problem:
> 
> ---------------------------------
> #include <stdio.h>
> class k
> {
> public:
> virtual void printf(const char* format, ...);
> }
> 
> int main( void )
> {
> return 0;
> }
> ---------------------------------
> 
> compile it with gcc3.2 :
> 
> c++ -Wall code.cpp - works fine
> c++ -Wall -O code.cpp - line 5: parse error before 'char'
> 
> Now comment out the include stdio.h, and try again - works
> fine.
> 
> /Per
> 
> _______________________________________________
> sapdb.general mailing list
> [EMAIL PROTECTED]
> http://listserv.sap.com/mailman/listinfo/sapdb.general
> 

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to