Bad C++ error message
Donn Terry
donn@verinet.com
Wed Jun 30 23:07:00 GMT 1999
Ian Lance Taylor wrote:
> With sources just updated from the CVS repository, if I compile this
> file:
>
> namespace n
> {
> class c
> { public:
> c () { }
> }
> };
>
> I get this error message:
>
> /home/ian/foo1.cc:8: parse error at null character
> /home/ian/foo1.cc:9: confused by earlier errors, bailing out
>
> This error message is bogus. There is no null character in the file.
>
> Ian
Just a guess: I saw very similar behavior when ungetc() was misbehaving
for me. A good place to start looking, anyway?
Donn
More information about the Gcc-bugs
mailing list