We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c848010 commit d1d35a7Copy full SHA for d1d35a7
include/pcg_extras.hpp
@@ -55,6 +55,9 @@
55
56
#ifdef __GNUC__
57
#define PCG_NOINLINE __attribute__((noinline))
58
+#elif defined(_MSC_VER)
59
+ #define PCG_NOINLINE __declspec(noinline)
60
+ #pragma warning(disable:4127) // conditional expression is constant
61
#else
62
#define PCG_NOINLINE
63
#endif
include/pcg_random.hpp
@@ -90,6 +90,7 @@
90
91
#ifdef _MSC_VER
92
#pragma warning(disable:4146)
93
94
95
96
0 commit comments