26/01/2011
unrecognized source file type ‘WIN32’
Ever had these errors with Microsoft Visual C++?
cl : Command line warning D9024 : unrecognized source file type 'WIN32', object file assumed cl : Command line warning D9027 : source file 'WIN32' ignored
Check your ”Additional Include Directories”, there is a missing macro there, which will result in a command line like this one:
/I "" /D "WIN32"
Then /D will be taken as an include path, and “WIN32” as a file to be compiled…
Obvious in retrospect, but it took me some time to get there.