[v3] system_error

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Thu Aug 23 19:30:00 GMT 2007


> Date: Thu, 23 Aug 2007 11:13:02 -0500
> From: Benjamin Kosnik <benjamin.kosnik@gmail.com>

> This adds in support for the <system_error> include, which was first
> posted here:
> 
> http://gcc.gnu.org/ml/libstdc++/2007-05/msg00082.html
> 
> The formal specification is still pretty up in the air, but this
> seems to be a decent starting point. Post-toronto, all messaging bits
> were removed: there have been some suggestions on how to do this (best
> from Peter Dimov, IMHO) but nothing concrete. This part can be added at
> a later date, when the dust settles.
> 
> tested x86/linux
> tested x86/linux x arm-elf

This patch broke cris-axis-elf:

libtool: compile:  /tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc -shared-libgcc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc -nostdinc++ -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/src -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/src/.libs -nostdinc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/ -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include -I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include/cris-elf -I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include -I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once!
  -ffunction-sections -fdata-sections -g -O2 -std=gnu++0x -c /tmp/hpautotest-gcc1/gcc/libstdc++-v3/src/system_error.cc -o system_error.o
In file included from /tmp/hpautotest-gcc1/gcc/libstdc++-v3/src/system_error.cc:32:
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include/system_error:112: error: 'ENOTSUP' was not declared in this scope
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include/system_error:113: error: 'ECANCELED' was not declared in this scope
make[4]: *** [system_error.lo] Error 1

brgds, H-P



More information about the Libstdc++ mailing list