This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/31965] New: _INTEGRAL_MAX_BITS defined incorrectly
- From: "rridge at csclub dot uwaterloo dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2007 01:31:19 -0000
- Subject: [Bug target/31965] New: _INTEGRAL_MAX_BITS defined incorrectly
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The macro _INTEGRAL_MAX_BITS is a defined as a builtin macro with an incorrect
value on mingw32. This Microsoft C specific macro is supposed to report "the
maximum size (in bits) for an integral type". In GCC's case this would be 64,
the size of a long long, not 32 as it currently defines the macro.
(Perhaps the real problem is that this macro is defined at all. It's specific
to the Microsoft C/C++ compiler and not part of the Windows API.)
--
Summary: _INTEGRAL_MAX_BITS defined incorrectly
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rridge at csclub dot uwaterloo dot ca
GCC build triplet: i386-pc-mingw32
GCC host triplet: i386-pc-mingw32
GCC target triplet: i386-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31965