The internal header include/string.h does not work in C++: it causes link errors
commit3172b27b2b3b0033e85ddf3566c7533a8f3b4bda
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 15 Feb 2017 15:13:58 +0000 (15 15:13 +0000)
committerWilco Dijkstra <wdijkstr@arm.com>
Wed, 15 Feb 2017 15:13:58 +0000 (15 15:13 +0000)
tree60b9c9151fde381402925910ba64b5c7a5b73c99
parent4918e5f4cd63290bb0b2c614f52092ca6a779126
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.
ChangeLog
include/string.h