My C++ compiler doesn't like the ANTLR code - what can I do?
Created Sep 3, 1999
Peter Wells The ANTLR code uses some relatively new features of C++ which not all
compilers support yet (such as namespaces, and new style standard
headers).
Try creating some header files like 'iostream' just containing:
There is work currently in progress to provide a compatibility mode for ANTLR, to enable older compilers to handle this.
At the moment, you may be able to work around the problem with a few nasty tricks:
#include <iostream.h>
and compile with an option to define away the word 'std', such as
CC .... -Dstd= ....