mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-12 04:18:00 +08:00
Suppress clang warning for tier0's GetCPUInformation().
This commit is contained in:
1 parent
1af349b854
commit
722d1d9293
1 file changed
+9
@@ -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 );
|
||||
|
||||
// ---------------------------------------------------------------------------------- //
|
||||
|
||||
Reference in new issue
Block a user