This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] include _mingw.h in stddef.h


Dave Korn writes:
> Well, yes, there's no reason why not, and if the MSVC compiler supplies
>all these types built in I don't see why GCC shouldn't do just the same.

The MinGW port of GCC isn't ment to be an MSVC++ clone, so you do really
need better justification than just "Microsoft does it".  There are lots
of things the Micrsoft compiler does that GCC will never do.  I don't
think it's unreasonable for GCC to differ here, especially when there
is a standard way of getting access to these types that works with
both compilers.

If support is added to GCC for these Microsoft types, I think it should
be as real types.  That would make the types fully compatibile with MSC.
The macros defined in _mingw.h are really only ment for the private use
of the MinGW runtime headers, and having GCC include it automatically
would be a misuse of the header.

					Ross Ridge


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]