-
I'm trying to port my existing engine from dx to bgfx, the problem is build fails in VS2022, target: win64, with this error in bx.h: 1>...\ThirdParty\bx\include\bx\bx.h(82,15): warning C4003: not enough arguments for function-like macro invocation 'min' Everything in project/build settings is 1-1 copied from bgfx examples (language version, preprocessors, optimizations,...). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Try |
Beta Was this translation helpful? Give feedback.
Try
#define NOMINMAX
before including any Windows headers