[cfe-dev] Support for c94 language mode
Aaron Ballman via cfe-dev
cfe-dev at lists.llvm.org
Mon Mar 12 06:10:50 PDT 2018
On Sun, Mar 11, 2018 at 8:22 AM, Сергей Михайлов via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Hello,
>
>
> may be I have missed something, but the online version of Clang Compiler
> User's Manual has c94 language mode among others for -std option (listed
> under Language Features), but the compiler rejects c94 in '-std=c94' (but
> accepts 'iso9899:199409' instead, for presumably the same revision).
>
> Looks like the compiler behavior and the online manual are out of sync a
> bit.
> Not sure if there are plans to adjust either of them.
>
> Any comments?
Yes, the documentation is out of date. There is no -std=c94 in Clang
(or GCC), but -std=iso9899:1994 is the way you'd spell it.
~Aaron
>
>
> Regards,
> Sergey Mikhailov.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
More information about the cfe-dev
mailing list