apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: bogus compiler warnings in macros that take `socket'
Date Tue, 16 Jul 2002 02:28:44 GMT
On Mon, 15 Jul 2002, Karl Fogel wrote:

>    APR_DECLARE_INHERIT_SET(socket);
>    APR_DECLARE_INHERIT_UNSET(socket);
>
> So it would be fair to call this a compiler bug, in that GCC is giving
> overeager warnings.
>
> Unfortunately, fixing this in GCC might be a lot of work; possibly a
> *real lot*, depending on the amount of automated analysis required and
> when/where it needs to happen.

This is not the kind of warning you would get at the preprocessor stage --
you'll only get this after macro expansion has already occurred.  Sounds
like a legitimate bug in APR to me.

--Cliff


Mime
View raw message