This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 Jun 2015 13:34:15 +0000
- Subject: [Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW
- Auto-submitted: auto-generated
- References: <bug-66471-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66471
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Just as a quick observation from looking at host-mingw32.c:
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "hosthooks.h"
#include "hosthooks-def.h"
#include "diagnostic.h"
#define WIN32_LEAN_AND_MEAN /* Not so important if we have windows.h.gch. */
#include <windows.h>
#include <stdlib.h>
stdlib.h is already included from system.h and system headers should be
included _before_ (well, in...) system.h (or at least directly after it).
Probably doesn't fix the issue though.