Hi All,
the antlr3 C runtime is build with autotools.
the autotools generate a header antlr3config.h, this header has
defined: #define PACKAGE "libantlr3c"
my project is also build with autotools, there is a header config.h, which
define: #define PACKAGE "polaris"
when I compile my code, there is an error:
In file included from /opt/antlr3c/include/antlr3defs.h:246,
from /opt/antlr3c/include/antlr3.h:33,
from PolarisAdmin.cc:13:
/opt/antlr3c/include/antlr3config.h:96:1: error: "PACKAGE" redefined
the error indicate that "PACKAGE" has redefined.
is it a bug? (:
how can I avoid this error?
thank you in advance.
--
hellojinjie
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.