Closed Bug 1289946 Opened 5 years ago Closed 5 years ago
Building with mingw-gcc fails with Enum
String Comparison Error
58 bytes, text/x-review-board-request
Fun problem: the test in get_compiler_info returns that KERNEL is 1 when the compiler is mingw-gcc. The reason is that the preprocessed file contains something like "%KERNEL WINNT", which is interpreted as meaning KERNEL is WINNT. But with mingw-gcc, WINNT is #define'd, so this ends up being interpreted as "%KERNEL 1"
Comment on attachment 8789082 [details] Bug 1289946 - Work around preprocessor default defines in get_compiler_info(). https://reviewboard.mozilla.org/r/77334/#review76312 LGTM
Attachment #8789082 - Flags: review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/43217bdb842a Work around preprocessor default defines in get_compiler_info(). r=gps
5 years ago
Attachment #8789082 - Flags: review?(cmanchester)
You need to log in before you can comment on or make changes to this bug.