The windows SDK for 8.1/10 reserves the lower case word small as a char of some sort.
rpcndr.h
Code: Select all
#define small char
typedef unsigned char byte;
typedef byte cs_byte;
typedef unsigned char boolean;
Which creates a problem in glmarker.cpp:InitVO
Two(2) vector<glfloats> are declared, small and large, which creates a conflict.
To get it to compile I changed them to smaller & larger, which preserves the logic and transparency.
These give errors that are a pain to chase down since the rest of the file fails to parse until that is fixed.
Very discouraging for those using VS in windows.
The same problem probably applies in QT as well, but I do not have it installed to test.
There are other issues, but this one is a show stopper.
Someone should fix it.
Janus.