This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bad CPP.EXE on GCC 2.95.2 ??


Hi guys,
 
Just recently reinstalled Win98 on my system, which is sort of a ritual or sorts, and while running Cygwin's 'gcc' compiler after reinstalling (with gcc's version 2.95.2-1 ) I did find that 'cpp' return this ugly message on code that has compiled before without problems!
 
BASH.EXE-2.04$ gcc -o runthis adamklist.c
adamklist.c:1: `#include' expects "FILENAME" or <FILENAME>
 
...omitting the header on the file and the content below, these are the offending lines;
 
/*
 */
 
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <sys/types.h>
#include <sys/param.h>
#include <unistd.h>
#include <mingw32/dir.h>
/*#include <regexpr.h>*/
 
#define TRUE 1
I'd tried reinstalling gcc using the 'setup gcc' command, but exactly the same thing!  What are your suggestions??
 
Regards,
Dan

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]