[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid warning: "PACKAGE_NAME" redefined
From: |
haibin zhang |
Subject: |
Re: How to avoid warning: "PACKAGE_NAME" redefined |
Date: |
Mon, 12 Mar 2007 23:04:39 +0800 (CST) |
thank you very much, ax_prefix_config_h is very good , it's okay.
Guido Draheim <address@hidden> 写道: 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 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/autoconf
>
---------------------------------
Mp3疯狂搜-新歌热歌高速下