[libcxx-commits] [PATCH] D58961: Remove `static` from declarations in support/musl/xlocale.h

Cág via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 23 12:52:22 PDT 2019


ca6c added a comment.

In D58961#1454807 <https://reviews.llvm.org/D58961#1454807>, @mclow.lists wrote:

> I think I'd like to see the actual error messages.


Hello,

Sorry for the delay.  Here they are:

  In file included from /mnt/build/test/llvm/projects/libcxx/include/__locale:39,
                   from /mnt/build/test/llvm/projects/libcxx/include/ios:216,
                   from /mnt/build/test/llvm/projects/libcxx/include/ostream:138,
                   from /mnt/build/test/llvm/projects/libcxx/include/istream:163,
                   from /mnt/build/test/llvm/projects/libcxx/include/random:1646,
                   from /mnt/build/test/llvm/projects/libcxx/src/algorithm.cpp:11:
  /mnt/build/test/llvm/projects/libcxx/include/support/musl/xlocale.h:28:25: error: ‘long long int strtoll_l(const char*, char**, int, locale_t)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
   static inline long long strtoll_l(const char *nptr, char **endptr, int base,

and so on for each declaration.


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58961/new/

https://reviews.llvm.org/D58961





More information about the libcxx-commits mailing list