mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
Fix warning.
-Wclass-memaccess was added in GCC8
This commit is contained in:
@@ -1162,7 +1162,7 @@ namespace vstd
|
||||
// If they tell us it's OK to relocate the type, then ignore GCC warnings
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#if __GNUC__ >= 11
|
||||
#if __GNUC__ >= 8
|
||||
#pragma GCC diagnostic ignored "-Wclass-memaccess"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user