When using w32api , I can't use "small" as variable name.
When compiling the attached file, the error is:
D:\test>g++ -c -o testsmall.o testsmall.cpp
testsmall.cpp: In function `int main(int, char**)':
testsmall.cpp:5: error: expected unqualified-id before =' token
By looking through the headers I found the problem is in rpcndr.h, line 50 : #define small char