Language defaults for CLang v5.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Language defaults for CLang v5.0

David Chisnall via cfe-dev

Hi CFE-Devs,

 

With CLang v5.0, what are the default dialects for C and C++?  Various alternative defaults were discussed but I didn’t spot that was eventually decided.

 

Thanks,

 

            MartinO

 

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Language defaults for CLang v5.0

David Chisnall via cfe-dev
For C++, it's `gnu++98`, but that will change to `gnu++14` in v6.0.

For C, it's `gnu11` for the foreseeable future.

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Language defaults for CLang v5.0

David Chisnall via cfe-dev

Perfect, thanks Nicolas

 

From: Nicolas Lesser [mailto:[hidden email]]
Sent: Thursday, September 28, 2017 4:11 PM
To: ORiordan, Martin <[hidden email]>; Clang Dev <[hidden email]>
Subject: Re: [cfe-dev] Language defaults for CLang v5.0

 

For C++, it's `gnu++98`, but that will change to `gnu++14` in v6.0.

 

For C, it's `gnu11` for the foreseeable future.

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev