C preprocessor failure

Neil Booth NeilB@earthling.net
Mon May 15 15:02:00 GMT 2000


Alexandre Oliva wrote:-

> But you must agree that an `#endif' inside a string doesn't count as a
> real `#endif', right? :-)

Right, but that's true automatically on K&R compilers since directives
begin in column 1, and multi-line comments are invalid.  Here we see
a GCC extension getting in the way again <g>.

Neil.



More information about the Gcc-bugs mailing list