[Tinycc-devel] I think there might be something broken in Win32 includes
From:
James Russell Moore
Subject:
[Tinycc-devel] I think there might be something broken in Win32 includes.
Date:
Tue, 26 Jan 2010 21:23:41 +0100
In some projects I need files like wtypes.h which is not pressent in the current WinAPI set. And as it depends on rpc.h and other files I'm using the MinGW WinAPI set which includes them all.
But since the recent Win32 include cleanup (commit b0abcfde9d456a3d76d63a8dcbb17eb871fc762d) I can't use the MinGW WinAPI, the following error appears:
In file included from d:/test_env/tcc/include/winapi/windows.h:50: d:/test_env/tcc/include/winapi/winbase.h:1336: error: ';' expected
There are also some warnings about macro redefinitions but didn't break the build.
My platform right now is a 32-bit Win7 Professional, with w32api package version 3.14. TCC was built using a development build of GCC 4.5.0 (also tested when building it using GCC 4.4.3).