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]

Re: C preprocessor failure


Thanks for your bug report. It is not a GCC bug, but a bug in your code; see below. Stephen Olsen wrote:- > > #ifdef DO_NOT_PROCESS > > <input type=\"text\" name=\"designation\">vendor description > > > > #endif You cannot put random text in a source file. Regardless of the setting of DO_NOT_PROCESS, the text in that block must be breakable into preprocessing tokens. The preprocessor does this, as follows:- < input type = \ " where the " starts a string but the string never terminates because the other quotes are escaped. Neil.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]