diff --git a/public/tier0/platform.h b/public/tier0/platform.h index 16c31c7e..b72a30de 100644 --- a/public/tier0/platform.h +++ b/public/tier0/platform.h @@ -635,8 +635,18 @@ struct CPUInformation tchar* m_szProcessorID; // Processor vendor Identification. }; +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wreturn-type-c-linkage" +#endif + PLATFORM_INTERFACE const CPUInformation& GetCPUInformation(); +#ifdef __clang__ +#pragma clang diagnostic pop +#endif + // ---------------------------------------------------------------------------------- // // Performance Monitoring Events - L2 stats etc... // ---------------------------------------------------------------------------------- //