mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 11:37:12 +01:00
12 lines
305 B
C
12 lines
305 B
C
![]() |
#pragma once
|
||
|
|
||
|
#if defined(_MSC_VER) && _MSC_VER < 1911
|
||
|
// [[nodiscard]] is not recognized before VS 2017 version 15.3
|
||
|
#pragma warning(disable : 5030)
|
||
|
#endif
|
||
|
|
||
|
#if defined(__GNUC__) && __GNUC__ < 7
|
||
|
// [[nodiscard]] is not recognized before GCC version 7
|
||
|
#pragma GCC diagnostic ignored "-Wattributes"
|
||
|
#endif
|