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).
Regards,
J. Russell.
In file included from ggx-streams.c:103:
In file included from d:/test_env/tcc/include/winapi/windows.h:48:
In file included from d:/test_env/tcc/include/winapi/windef.h:253:
In file included from d:/test_env/tcc/include/winapi/winnt.h:37:
In file included from d:/test_env/tcc/include/string.h:9:
In file included from d:/test_env/tcc/include/_mingw.h:21:
d:/test_env/tcc/include/stddef.h:24: warning: NULL redefined
In file included from ggx-streams.c:103:
In file included from d:/test_env/tcc/include/winapi/windows.h:48:
In file included from d:/test_env/tcc/include/winapi/windef.h:253:
In file included from d:/test_env/tcc/include/winapi/winnt.h:37:
In file included from d:/test_env/tcc/include/string.h:9:
d:/test_env/tcc/include/_mingw.h:30: warning: __cdecl redefined
In file included from ggx-streams.c:103:
In file included from d:/test_env/tcc/include/winapi/windows.h:48:
In file included from d:/test_env/tcc/include/winapi/windef.h:253:
In file included from d:/test_env/tcc/include/winapi/winnt.h:37:
In file included from d:/test_env/tcc/include/string.h:9:
d:/test_env/tcc/include/_mingw.h:69: warning: _X86_ redefined
In file included from ggx-streams.c:103:
In file included from d:/test_env/tcc/include/winapi/windows.h:48:
In file included from d:/test_env/tcc/include/winapi/windef.h:253:
In file included from d:/test_env/tcc/include/winapi/winnt.h:37:
In file included from d:/test_env/tcc/include/string.h:9:
d:/test_env/tcc/include/_mingw.h:70: warning: WIN32 redefined
In file included from ggx-streams.c:103:
In file included from d:/test_env/tcc/include/winapi/windows.h:50:
d:/test_env/tcc/include/winapi/winbase.h:1336: error: ';' expected
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel