Open kazssym opened 3 years ago
The header defines ERROR as an undeclared symbol. It seems it tries to save and restore the original definition of ERROR but it fails to do so.
ERROR
https://github.com/coin3d/coin/blob/dfb56d294eeef3581e4322ed8881f478fc242dec/include/Inventor/errors/SoDebugError.h#L85
Is it OK to have a definition like this?
enum { WIN32_ERROR = ERROR, #undef ERROR ERROR = WIN32_ERROR };
The header defines
ERROR
as an undeclared symbol. It seems it tries to save and restore the original definition ofERROR
but it fails to do so.https://github.com/coin3d/coin/blob/dfb56d294eeef3581e4322ed8881f478fc242dec/include/Inventor/errors/SoDebugError.h#L85