search for: 201112l

Displaying 2 results from an estimated 2 matches for "201112l".

Did you mean: 201112
2017 May 11
3
problem (and fix) with -fms-extensions
...nitializeStandardPredefined else Builder.defineMacro("__STDC_HOSTED__"); + if (LangOpts.MicrosoftMode) + Builder.defineMacro("__ms_extensions__", 1); if (!LangOpts.CPlusPlus) { if (LangOpts.C11) Builder.defineMacro("__STDC_VERSION__", "201112L"); -------------- next part -------------- Index: lib/Frontend/InitPreprocessor.cpp =================================================================== RCS file: /build/data/openbsd/cvs/src/gnu/llvm/tools/clang/lib/Frontend/InitPreprocessor.cpp,v retrieving revision 1.1.1.4 diff -u -p -r1.1.1....
2017 May 12
2
problem (and fix) with -fms-extensions
...acro("__STDC_HOSTED__"); > > > > + if (LangOpts.MicrosoftMode) > > + Builder.defineMacro("__ms_extensions__", 1); > > if (!LangOpts.CPlusPlus) { > > if (LangOpts.C11) > > Builder.defineMacro("__STDC_VERSION__", "201112L"); > > Looks fine to me, though you would also have to convince the gcc authors > to do the same. (That is, if you still want to use recent gcc's... :) Well, the licence means we care a little less about gcc for obvious reasons. Working with the llvm/clang community makes more...