How to avoid warning: "PACKAGE_NAME" redefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux