On Thu, Jun 16, 2016 at 1:40 AM, Nico Weber <tha...@chromium.org> wrote:
> Maybe this should use the marketing name ("before msvc 2013")? People > might be more familiar with that. > Thats a pretty good idea actually. Ill make a follow up change. > On Jun 15, 2016 2:34 AM, "Saleem Abdulrasool via cfe-commits" < > cfe-commits@lists.llvm.org> wrote: > >> Author: compnerd >> Date: Tue Jun 14 19:28:15 2016 >> New Revision: 272741 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=272741&view=rev >> Log: >> Headers: tweak for MSVC[<1800] >> >> Earlier versions of MSVC did not include inttypes.h. Ensure that we dont >> try to >> include_next on those releases. >> >> Modified: >> cfe/trunk/lib/Headers/inttypes.h >> >> Modified: cfe/trunk/lib/Headers/inttypes.h >> URL: >> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/inttypes.h?rev=272741&r1=272740&r2=272741&view=diff >> >> ============================================================================== >> --- cfe/trunk/lib/Headers/inttypes.h (original) >> +++ cfe/trunk/lib/Headers/inttypes.h Tue Jun 14 19:28:15 2016 >> @@ -23,6 +23,10 @@ >> #ifndef __CLANG_INTTYPES_H >> #define __CLANG_INTTYPES_H >> >> +#if defined(_MSC_VER) && _MSC_VER < 1800 >> +#error MSVC <= 11.0 does not have inttypes.h >> +#endif >> + >> #include_next <inttypes.h> >> >> #if defined(_MSC_VER) && _MSC_VER < 1900 >> >> >> _______________________________________________ >> cfe-commits mailing list >> cfe-commits@lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >> > -- Saleem Abdulrasool compnerd (at) compnerd (dot) org
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits