The aim is to define _LIBCPP_ELAST for AIX since strerror/strerror_r can't handle out-of-range errno values.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
| libcxx/src/include/config_elast.h | ||
|---|---|---|
| 43 | AIX has sys_nerr. It would be better to use that. | |
| libcxx/src/include/config_elast.h | ||
|---|---|---|
| 43 | @SeanP sys_nerr is guarded by _ALL_SOURCE and it's a BSD extension. Since this is a header could potentially included by any source file, the _ALL_SOURCE requirement for building the source could get viral. I think we should decrease our exposure on needing _ALL_SOURCE to build the source. | |
AIX has sys_nerr. It would be better to use that.