This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Unsolicited warnings
- To: Enrico dot Scholz at informatik dot tu-chemnitz dot de
- Subject: Re: Unsolicited warnings
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Thu, 23 Mar 2000 20:21:15 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <m38zzavvd1.fsf@kosh.ultra.csn.tu-chemnitz.de>
> While compiling the code shown below, g++ gives out a warning
> "straits.h:86: warning: ANSI C++ forbids variable-size array `a'" whose
> origin I can not understand and which I like to suppress. AFAIK
> variable-sized arrays are an extension and should not be criticized
> there. I have tried to prefix straits.h:86 with __extension__ too but it
> doesn't help.
Thanks for your bug report. I've put two PRs into GNATS; one for the
problem in straits.h, another one that __extension__ in templates
doesn't work.
Regards,
Martin