about summary refs log tree commit diff
path: root/string/inl-tester.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-02-15 15:13:58 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2017-02-15 15:13:58 +0000
commit3172b27b2b3b0033e85ddf3566c7533a8f3b4bda (patch)
tree60b9c9151fde381402925910ba64b5c7a5b73c99 /string/inl-tester.c
parent4918e5f4cd63290bb0b2c614f52092ca6a779126 (diff)
downloadglibc-3172b27b2b3b0033e85ddf3566c7533a8f3b4bda.tar.gz
glibc-3172b27b2b3b0033e85ddf3566c7533a8f3b4bda.tar.xz
glibc-3172b27b2b3b0033e85ddf3566c7533a8f3b4bda.zip
The internal header include/string.h does not work in C++: it causes link errors
in several C++ debug tests when any of the functions it declares are called.
The best option would be to not use internal headers for tests (unless
explicitly needed).  Add guards so that it is safe to use include/string.h from
C++.

	* include/string.h: Add __cplusplus check.
Diffstat (limited to 'string/inl-tester.c')
0 files changed, 0 insertions, 0 deletions