fff.h:33:2: error: 'BYTE' does not name a type
|Status:||Closed||Start date:||29 Jan 2016|
|Assignee:||Robin Mills||% Done:|
|Category:||build||Estimated time:||2.00 hours|
#1 Updated by Robin Mills over 1 year ago
- Status changed from New to Assigned
- Assignee set to Robin Mills
- Target version set to 0.26
- % Done changed from 0 to 20
- Estimated time set to 2.00
Are you cross compiling?
It compiles with MSVC (2003..2015) and GCC (Cygwin and MinGW). If you add #include <windef.h>, do it build for you? If this is working on your platform, I'll submit the change and the buildserver will build it with MSVC, Cygwin and MinGW.
#3 Updated by Robin Mills over 1 year ago
Thanks, Jakub. I've submitted your patch. I'll check the buildserver later to be sure it has build and passed the test suite on our supported platforms.
I can't really offer any thoughts about why it doesn't cross compile as I've never succeeded in cross-compiling (with or without this issue). I think the "Native" platforms (not cross compiling) include <windows.h> which ultimately includes "windef.h". However let's not discuss how things don't work. Let's be happy that you've found and fixed this.