apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject __attribute__ redefinition warnings
Date Thu, 27 Feb 2003 00:03:24 GMT
Can apr.h be changed to undef the __attribute__ macro, if it's already 
defined, before redefining it? In the mod_perl 2.0 build we have to include 
include files from perl and apr, so on certain platforms (e.g. aix 4.3.3) 
people get the following warning:

-------- Original Message --------
Subject: make errors with mod_perl-1.99_08 on aix 4.3.3
Date: Wed, 26 Feb 2003 15:34:29 -0500
From: Priest, Darryl - BALTO <darryl.priest@piperrudnick.com>
To: 'modperl@perl.apache.org' <modperl@perl.apache.org>

I'm getting the warning for every cc in the make:

"/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h", line 41.9: 1506-236 (W)
Macro name __attribute__ has been redefined.
"/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h", line 41.9: 1506-358 (I)
"__attribute__" is defined on line 28 of /usr/local/apache/include/apr.h.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

View raw message