[cfe-dev] Repeating declaration specifiers

Hans Wennborg hans at chromium.org
Tue Jun 21 04:30:19 PDT 2011


On Mon, Jun 20, 2011 at 12:57 PM, "Mgr. Šimon Tóth" <toth at fi.muni.cz> wrote:
>> Any language lawyers who can help?
>
> Forbidden in C++, allowed in C.

Turns out Clang does catch this, but only with the -pedantic flag.

Maybe it should be an error by default?

>
> --
> Mgr. Simon Toth
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the cfe-dev mailing list