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 <[EMAIL PROTECTED]>
To: '[email protected]' <[email protected]>

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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to