[Bug libstdc++/37147] New failures: 20_util/ratio/comparisons/comp2.cc et al

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 18 14:12:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list