This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH]: New warning option -Walloca
On 31 August 2007 14:46, Tom Tromey wrote:
>>>>>> "Manuel" == Manuel LÃpez-IbÃÃez <lopezibanez@gmail.com> writes:
>
> Manuel> On the contrary, I suppose it will work if you poison the identifier
> Manuel> before including any system headers. Doesn't it?
>
> I believe this will give an error if a system header even declares
> alloca. That's a bit unfriendly, since most users won't have control
> over these headers.
Well, there's a thought: maybe poison should behave like warnings (i.e. be suppressed for the most part) when it comes to system headers?
cheers,
DaveK
--
Can't think of a witty .sigline today....