[PATCH] D58149: [clang] Make sure C99/C11 features in <float.h> are provided in C++11

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 13 17:08:33 PST 2019


ldionne added a comment.

In D58149#1397390 <https://reviews.llvm.org/D58149#1397390>, @jfb wrote:

> In D58149#1397382 <https://reviews.llvm.org/D58149#1397382>, @efriedma wrote:
>
> > Formally, I don't think C11 is a normative reference for C++11 or C++14, only C++17 (see [intro.refs] in the standard).
>


You're right. I don't mind submitting a patch that enables it for C++17 and above only if that's what you want, however...

> Right, this was changed in wg21.link/p0063r3
>  That being said, we *can* offer these C11 features as extensions IIUC.

... I think it's also fine to have it in C++11.

Your choice, @eli.friedman


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58149/new/

https://reviews.llvm.org/D58149





More information about the cfe-commits mailing list