autoconf
[Top][All Lists]
Advanced

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

Re: How to avoid warning: "PACKAGE_NAME" redefined


From: Guido Draheim
Subject: Re: How to avoid warning: "PACKAGE_NAME" redefined
Date: Sat, 10 Mar 2007 15:57:43 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20060911)

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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/autoconf
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]