BUG in libstdc++-v3/config/os/generic/error_constants.h

Dongsheng Song dongsheng.song@gmail.com
Wed Jan 30 13:46:00 GMT 2008


................ snip libstdc++-v3/config/os/generic/error_constants.h
................
      not_supported = 				ENOTSUP,
................ snip libstdc++-v3/config/os/generic/error_constants.h
................

OpenBSD 4.2 not defined ENOTSUP, only EOPNOTSUPP !

................ snip /usr/include/sys/errno.h ................
    #define EOPNOTSUPP      45              /* Operation not supported */
................ snip /usr/include/sys/errno.h ................

This affect gcc 4.3/trunk only. Maybe we should add a new file
libstdc++-v3/config/os/bsd/openbsd/error_constants.h like mingw32 ?

Dongsheng



More information about the Gcc mailing list