create_msvc: Disable language extensions for engines
|Reported by:||Templier||Owned by:||bluegr|
Project files have language extensions turned on by default. This allows things like enumeration forward declarations to compile fine on MSVC and fail on GCC.
This patch disables language extensions for all engines via the global property file (and turns them back on in the existing special case for the scummvm project file as some seem to used in Windows include files).
After applying the patch, MSVC will throw errors and warnings when language extensions are used. A second patch is needed to fix an error in memorypool.h (identifier not found) and some warnings in the sci engine (formal parameter 'byte' was previously defined as a type).
Tested on Windows with MSVC 9 and Linux with GCC 4.4.1 (OpenSUSE).
Ticket imported from: #2909854. Ticket imported from: patches/1224.