Bad C++ error message

Ian Lance Taylor ian@airs.com
Wed Jun 23 21:07:00 GMT 1999


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


More information about the Gcc-bugs mailing list