RS-MET icon indicating copy to clipboard operation
RS-MET copied to clipboard

solving the last few warnings 'APIENTRY' macro redefinition

Open elanhickler opened this issue 8 years ago • 1 comments

image

any ideas?

elanhickler avatar Jan 08 '18 21:01 elanhickler

seems to be specific to prettyscope/opengl stuff. it's in OpenGLBrush.h. when i comment out the line: #define APIENTRY __stdcall i hit an error here: #error windows.h was included! i tried to comment out: #include <windows.h> in glad.c, but that didn't help either. trying to comment out the #error.., i'm getting a lot of compiler errors related to RELATIVE and ABSOLUTE being defined as macros somewhere (and i'm using them in an enum for the modulation-modes). i may try to use different enum entries, but i'm not sure if this will help

RobinSchmidt avatar Jan 09 '18 12:01 RobinSchmidt