[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to avoid warning: "PACKAGE_NAME" redefined
From: |
haibin zhang |
Subject: |
How to avoid warning: "PACKAGE_NAME" redefined |
Date: |
Fri, 9 Mar 2007 17:23:40 +0800 (CST) |
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疯狂搜-新歌热歌高速下
- How to avoid warning: "PACKAGE_NAME" redefined,
haibin zhang <=