diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2018-07-27 20:02:58 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2018-07-27 20:02:58 +0000 |
commit | 78b637499715a980469d08499f21d2233ed4fd08 (patch) | |
tree | 463374c14ed59c7e637779e47491e39277cfd8a7 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py | |
parent | 1d44c46539fa1a40c74b4354022f5aeaeb9c3b6a (diff) | |
download | bcm5719-llvm-78b637499715a980469d08499f21d2233ed4fd08.tar.gz bcm5719-llvm-78b637499715a980469d08499f21d2233ed4fd08.zip |
[libc++] Exclude posix_l/strtonum fallback inclusion for newlib > 2.4
Summary:
[libc++] Exclude posix_l/strtonum fallback inclusion for newlib > 2.4
r338122 changed the linkage of some methods which revealed an existing ODR violation, e.g.:
projects/libcxx/include/support/xlocale/__posix_l_fallback.h:83:38: error: 'internal_linkage' attribute does not appear on the first declaration of 'iswcntrl_l'
inline _LIBCPP_INLINE_VISIBILITY int iswcntrl_l(wint_t c, locale_t) {
^
lib/include/wctype.h:55:12: note: previous definition is here
extern int iswcntrl_l (wint_t, locale_t);
These were added to newlib in 2.4 [1] [2], so move them to the already existing include guard.
[1] https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=238455adfab4f8070ac65400aac22bb8a9e502fc
[2] https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=8493c1631643fada62384768408852bc0fa6ff44
Reviewers: ldionne, rsmith, EricWF
Subscribers: christof, cfe-commits
Differential Revision: https://reviews.llvm.org/D49927
llvm-svn: 338157
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py')
0 files changed, 0 insertions, 0 deletions