delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/13/04:19:29

From: mikhail_tchernychev AT yahoo DOT com (Mikhail Tchernychev)
Subject: EGCS include files
13 Nov 1998 04:19:29 -0800 :
Message-ID: <19981113000823.13983.rocketmail.cygnus.gnu-win32@send205.yahoomail.com>
Mime-Version: 1.0
To: cygwin win-32 <gnu-win32 AT cygnus DOT com>

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019