[cfe-dev] Support for c94 language mode

Aaron Ballman via cfe-dev cfe-dev at lists.llvm.org
Tue Mar 13 17:48:36 PDT 2018


On Tue, Mar 13, 2018 at 8:43 PM, Hubert Tong
<hubert.reinterpretcast at gmail.com> wrote:
> You can submit a patch to fix https://bugs.llvm.org/show_bug.cgi?id=19942. I
> think it's the docs that are wrong.

I fixed the docs in r327264, but managed to forget to say anything on
this thread.

~Aaron

>
> -- HT
>
> On Mon, Mar 12, 2018 at 9:10 AM, Aaron Ballman via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
>>
>> 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
>> >
>> _______________________________________________
>> 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