As I mentioned on IRC, r207695 leads to a warning when compiling <stdexcept> (or any other header that includes it), if you use -Wsystem-headers, like we do in FreeBSD:
In file included from test-stdexcept.cpp:1:
In file included from include/array:109:
include/stdexcept:56:17: warning: private field '__imp_' is not used [-Wunused-private-field]
const char *__imp_;
^
1 warning generated.Apart from just including <refstring> in stdexcept, which is apparently too costly, the fix with lowest impact would probably be to add attribute((unused)) to the imp_ field.
However, there isn't any _LIBCPP_UNUSED define in __config yet, so that would have to be added, like in this proposed change.
Somebody who knows about Microsoft C++ and IBM C++ should fill in the unused attribute syntax appropriate for those compilers, if there is any.