This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/37147] New failures: 20_util/ratio/comparisons/comp2.cc et al
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2008 14:11:19 -0000
- Subject: [Bug libstdc++/37147] New failures: 20_util/ratio/comparisons/comp2.cc et al
- References: <bug-37147-507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paolo dot carlini at oracle dot com 2008-08-18 14:11 -------
Thanks Hans-Peter, probably I don't need further information. I'm already
testing the fix. If you want, you can try to compile ** as a C++ program, this
is important ** the below. If my analysis is correct, should not compile,
meaning we can't really assume a C99-conforming <stdint.h> for your target:
#define __STDC_LIMIT_MACROS
#include <stdint.h>
int main()
{
typedef intmax_t my_intmax_t;
my_intmax_t im = INTMAX_MAX;
im = INTMAX_MIN;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37147