This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fw: cpp0 error and strangeness with gcc 3.1.0


This is EXACTLY what is happening with me as well, the very last line of the
.c file is the error line number. Is it reading past EOF?

http://gcc.gnu.org/ml/gcc-bugs/2001-12/msg00719.html

----- Original Message -----
From: "Shawn Starr" <spstarr@sh0n.net>
To: <gcc-bugs@gcc.gnu.org>
Sent: Saturday, June 15, 2002 3:24 PM
Subject: cpp0 error and strangeness with gcc 3.1.0


> After compiling GCC 3.1.0 from tarball, I can't build most programs
anymore,
> I can compile the kernel but if I try to build other programs (like
> gpm-1.20.0). I get:
>
> Errors like:
>
> file.c:100:101: warning: null character(s) ignored
> file.c:100: stray '\1' in program
> file.c:100: stray '\1' in program
> file.c:100:107: warning: null character(s) ignored
> file.c:100: stray '\32' in program
> file.c:100: stray '\305' in program
>
> and sometimes
>
> gcc: Internal error: Segmentation fault (program cpp0)
> ..
>
> Whats going on? I've never had problems like this with gcc 2.95.3/3.0.4 :(
>
> Shawn.
>
>
>
>


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