www.digitalmars.com         C & C++   DMDScript  

c++ - [Bug report] Unable to use macros in #line

You should be able to use macros in #line statements. For example:

     #define LINE_NUMBER 23
     #line 23
     __LINE__

Should expand to 23.

Daniel
Aug 12 2004