This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Compilation error
- To: gcc at gcc dot gnu dot org
- Subject: Compilation error
- From: Gourisankar Mukherjee <mistmp4 at cypress dot com>
- Date: Mon, 21 Aug 2000 11:25:21 -0600
- Organization: Cypress Semiconductor Corp.
- Reply-To: mistmp4 at cypress dot com
Hi,
even if I try to compile a simple program like
#include <stdio.h>
main()
{
printf("\nHello World\n") ;
}
I am getting the following error
/usr/include/stdio.h:61: Invalid token in expression
/usr/include/stdio.h:63: Invalid token in expression
The output of gcc -v command is
gcc version 1.36
The output of uname -a is
SunOS misbuild1 5.5.1 Generic_103640-29 sun4m sparc SUNW,SPARCstation-20
The lines 61 thru 63 of stdio.h are,
#if machine(i386) || defined(__i386)
#define _NFILE 60 /* initial number of streams: Intel x86 ABI */
#elif #machine(ppc) || defined(__ppc)
Further, stdio.h does not have a combination of \r\n as end-of-line.
I need a solution for this ASAP. Thanks in advance to anybody who can
help.
Gourisankar.