X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Finttypes.h;h=c0af5ca9f2d2cf485b7a84d56285835087e3119c;hp=58debd00f67542ed751bacc4f320789948f83c83;hb=ffc1e458036866b1b2f4cb7f4beeeae0bb832da3;hpb=d021a6c0c619da83486da2f129ea35dc866ecfa6 diff --git a/source/core/inttypes.h b/source/core/inttypes.h index 58debd0..c0af5ca 100644 --- a/source/core/inttypes.h +++ b/source/core/inttypes.h @@ -14,7 +14,11 @@ typedef TypeList::Ty #if defined(__GNUC__) #if (__GNUC__>4 || (__GNUC__==4 && __GNUC_MINOR__>=6)) && defined(__LP64__) #pragma GCC diagnostic push +#if __GNUC__>=5 +#pragma GCC diagnostic ignored "-Wpedantic" +#else #pragma GCC diagnostic ignored "-pedantic" +#endif typedef TypeList::Type PlatformSignedTypes; typedef TypeList::Type PlatformUnsignedTypes; #pragma GCC diagnostic pop