Reminder: - http://ac-archive.sourceforge.net/guidod/ax_prefix_config_h.html The macro creates a package config.h that can be installed. It avoids to create a special ace-config.h manually. Point the ACE developers to that as installing config.h is plain wrong. And, use it yourself thereby avoiding standard config.h defs altogether. cheers, Guido haibin zhang schrieb: > Hi all: > When I build my project , when I include <config.h> in my source file, it will warn me : > In file included from /opt/ace/include/ace/config-macros.h:24, > from /opt/ace/include/ace/config-lite.h:24, > from /opt/ace/include/ace/Basic_Types.h:46, > from /opt/ace/include/ace/SStringfwd.h:22, > from /opt/ace/include/ace/Configuration.h:34, > from /opt/ace/include/ace/Configuration_Import_Export.h:28, > from ../../../CallCompletion/Codes/libnet/Properties.cpp:8: > /opt/ace/include/ace/config.h:2050:1: warning: "PACKAGE_NAME" redefined > In file included > > I found that I use ACE project , ACE has include config.h that generated by autoconf. and it has defined PACKAGE_NAME. > > How can I avoid warning: "PACKAGE_NAME" redefined? > > Regards > > Zhang HaiBin > > > --------------------------------- > Mp3疯狂搜-新歌热歌高速下 > _______________________________________________ > Autoconf mailing list > Autoconf@xxxxxxx > http://lists.gnu.org/mailman/listinfo/autoconf > _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf