This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] c++0x <system_error> CD updates
- From: DJ Delorie <dj at redhat dot com>
- To: cfairles at gcc dot gnu dot org
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 23 Oct 2008 09:33:41 -0400
- Subject: Re: [v3] c++0x <system_error> CD updates
This line in error_constants.h doesn't work with 16 bit targets:
no_posix_equivalent = 1L << 16
In file included from /sata/dj/gnu/gcc/m32c-elf/m32c-elf/libstdc++-v3/include/system_error:44,
from /sata/dj/gnu/gcc/gcc/libstdc++-v3/src/functexcept.cc:32:
/sata/dj/gnu/gcc/m32c-elf/m32c-elf/libstdc++-v3/include/m32c-elf/bits/error_constants.h:176: error: enumerator value 65536l is too large for underlying type 'int'
make[4]: *** [functexcept.lo] Error 1
make[4]: Leaving directory `/sata/dj/gnu/gcc/m32c-elf/m32c-elf/libstdc++-v3/src'