[Bug c/40016] regex_internal.h:185: error: integer overflow in preprocessor expression
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 4 14:52:00 GMT 2009
------- Comment #3 from jakub at gcc dot gnu dot org 2009-05-04 14:52 -------
Not surprisingly when the error is during preprocessing.
regex.h parted ships (why?) is broken by the #elif changes, there is:
#if some_condition_that_is_true_on_sane_targets
...
#elif BITSET_WORD_MAX == (0xffffffff + 2) * 0xffffffff
/* Work around a bug in 64-bit PGC (before version 6.1-2), where the
preprocessor mishandles large unsigned values as if they were signed. */
...
#endif
To make GCC happy about this at least the #elif should be changed into #else
#if ... #endif.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40016
More information about the Gcc-bugs
mailing list