Kamlesh Kumar ef0051070f <string.h>: Define __CORRECT_ISO_CPP_STRING_H_PROTO for Clang [BZ #25232]
Without the asm redirects, strchr et al. are not const-correct.

libc++ has a wrapper header that works with and without
__CORRECT_ISO_CPP_STRING_H_PROTO (using a Clang extension).  But when
Clang is used with libstdc++ or just C headers, the overloaded functions
with the correct types are not declared.

This change does not impact current GCC (with libstdc++ or libc++).

(cherry picked from commit 953ceff17a4a15b10cfdd5edc3c8cae4884c8ec3)
2019-12-05 16:56:04 +01:00
..
2019-09-13 15:19:26 +01:00
2019-09-13 15:19:19 +01:00
2019-09-13 15:19:19 +01:00
2018-05-23 04:00:11 -07:00
2018-07-16 17:51:52 +01:00