- Properly set STDCALL as default convention, previous patch incorrectly set it as...
[reactos.git] / reactos / tools / tools-check.c
1 #include "tools-check.h"
2
3 /*
4 * - Binutils older than 2003/10/01 have broken windres which can't handle
5 * icons with alpha channel.
6 * - Binutils between 2004/09/02 and 2004/10/08 have broken handling of
7 * forward exports in dlltool.
8 */
9
10 #if (BINUTILS_VERSION_DATE >= 20040902 && BINUTILS_VERSION_DATE <= 20041008) || \
11 (BINUTILS_VERSION_DATE < 20031001)
12 #error "Due to technical reasons your binutils version can't be used to" \
13 "build ReactOS. Please consider upgrading to newer version. See" \
14 "www.mingw.org for details."
15 #endif
16
17 /*
18 * GCC 3.3.1 is lowest allowed version. Older versions have various problems
19 * with C++ code.
20 */
21
22 #if (__GNUC__ == 3 && __GNUC_MINOR__ < 3) || \
23 (__GNUC__ < 3)
24 #error "Due to technical reasons your GCC version can't be used to" \
25 "build ReactOS. Please consider upgrading to newer version. See" \
26 "www.mingw.org for details."
27 #endif
28
29 /*
30 * FIXME: GCC 3.4.1 has broken headers which cause Explorer to not build.
31 * We should warn in this case...maybe add check for the broken headers?
32 */