Suppress clang warning for tier0's GetCPUInformation().

This commit is contained in:
Scott Ehlert committed 2012-05-29 19:11:47 -05:00
1 parent 1af349b854
commit 722d1d9293
1 file changed
+9
+9
View File
@@ -830,8 +830,17 @@ struct CPUInformation
tchar* m_szProcessorID; // Processor vendor Identification.
};
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
#endif
PLATFORM_INTERFACE const CPUInformation& GetCPUInformation();
#ifdef __clang__
#pragma clang diagnostic pop
#endif
PLATFORM_INTERFACE void GetCurrentDate( int *pDay, int *pMonth, int *pYear );
// ---------------------------------------------------------------------------------- //