[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eh, what? on build.



"Henry B. Hotz" <hotz@jpl.nasa.gov> writes:

> My first reaction was "how did this *ever* compile with the missing
> quotes?"  My second reaction was "how did the compiler ever notice the
> problem given the #if 0//#endif block?"  This looks like a compiler
> bug, really.

All code should be syntactically correct, even stuff ifdefed out. Most
compilers don't care, but apparently someone decided that gcc
should. Workaround: just add the missing quotes.

/Johan