c++.dos - Preprocessor bug?
- Gisle Vanem (21/21) Jul 01 2002 The following code snippet fails and causes an internal error in dmc v8....
- Walter (1/1) Jul 01 2002 Thanks! I'll check it out.
The following code snippet fails and causes an internal error in dmc v8.28n: #include <stdio.h> #define #define NAMESPACE(x) CONCAT(w32,x) #define foo NAMESPACE(foo) int foo (void) { } int main (void) { foo(); return (0); } -------------------------------------------------- c:\net\watt\src>dmc -c test.c int foo (void) ^ test.c(9) : Preprocessor error: unterminated macro argument Fatal error: out of memory --- errorlevel 1 -------------------------------------------------- If I do "#define Gisle V.
Jul 01 2002