EGCS include files

Mikhail Tchernychev mikhail_tchernychev@yahoo.com
Thu Nov 12 16:07:00 GMT 1998


Hi, 

I found that is not possible to compile
simple program (t.cpp) with 

gcc -o t.exe t.cpp

here is the text:

#include <stdio.h>
#include <stdlib.h>

void main() {

}

It comes with errors:

c:\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdio.h:143:
ty
pe specifier omitted for parameter
c:\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdio.h:144:
ty
pe specifier omitted for parameter
....

But if I replace 

#include <stdio.h

to 

#include <iostdio.h>

Then it is O.K.

Is it a bug or just difference with old gcc ?

Regards,
Mikhail
 
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list