On Mon, May 14, 2007 at 01:48:58AM -0400, Rob Landley wrote:
> 1) The #include <gl\glaux.h> doesn't get parsed on Linux systems because the 
> #ifdef prevents everything until the #else from being looked at.

Not so sure about that.  Compiling this:

  #if 0
  #include <a:\qqq>
  #endif

fails with "stray '\' in program".  From a quick glance at
preprocess_skip() where it calls handle_stray(), there's a comment
suggesting that this may be a known bug.

My guess is that it's treating all backslashes between the #if/#endif
pair as part of escape sequences, instead of handling C's special case
tokenization of header names.  I don't see any obvious code in there
checking for an #include context, for example.

                                                  -Dave Dodge


_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to