Minor problem with #error directive

Todd Veldhuizen todd@p200.cybervision.com
Fri Sep 5 20:14:00 GMT 1997


This program:

  #error This shouldn't cause a problem

Causes this output:

  error.cpp:1: unterminated string or character constant

Output should be:

  error.cpp:1: #error This shouldn't cause an error

Problem occurs for the 97/09/04 snapshot of egcs, as well as gcc 2.7.2.1.





More information about the Gcc-bugs mailing list