
24 Sep
2006
24 Sep
'06
11:25 a.m.
I have a test failing on gcc 4.1.1 with glibc 2.4. This test from cstdint_test.cpp fails: integral_constant_type_check(boost::uint8_t(0), UINT8_C(0)); http://engineering.meta-comm.com/boost-regression/CVS-RC_1_34_0/developer/in... At least some discussions I found seems to say that UINT8_C cannot be used to deduce types because of some integer promotion issues and that UINT8_C should return int. The UINT8_C macro has been changed from returning c ## u, to returning just c, between version 2.3.5 and 2.4 of glibc. http://comments.gmane.org/gmane.os.cygwin.patches/3101 Is the test wrong or is the C standard library in error? -- Lgb