[libcxx-commits] [libcxx] 2d8f23f - [libc++] Explicitly mark basic_string<...>::npos with default

Eric Fiselier via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 16 06:16:46 PST 2020


Sorry about the breakage Martin. I'll commit a speculative fix shortly.

There are currently no real Windows buildbots for libc++. I was attempting
to
use Appveyor (https://ci.appveyor.com/project/llvm-mirror/libcxx), but
that's
been unmaintained and red for a long time now.

On Thu, Jan 16, 2020 at 3:40 AM Martin Storsjö <martin at martin.st> wrote:

> On Wed, 15 Jan 2020, Eric Fiselier via libcxx-commits wrote:
>
> >
> > Author: Eric Fiselier
> > Date: 2020-01-15T17:02:17-05:00
> > New Revision: 2d8f23f571635c1fb983b40c4c2548716a5b65b6
> >
> > URL:
> https://github.com/llvm/llvm-project/commit/2d8f23f571635c1fb983b40c4c2548716a5b65b6
> > DIFF:
> https://github.com/llvm/llvm-project/commit/2d8f23f571635c1fb983b40c4c2548716a5b65b6.diff
> >
> > LOG: [libc++] Explicitly mark basic_string<...>::npos with default
> > visibility.
>
> This breaks shared builds for windows (both with clang-cl and in mingw
> mode):
>
> In file included from ..\src\thread.cpp:12:
> In file included from ..\include\thread:92:
> In file included from ..\include\system_error:149:
> ..\include\string(4241,59): error: redeclaration of
> 'std::__1::basic_string::npos' cannot add 'dllexport' attribute
>                 basic_string<_CharT, _Traits, _Allocator>::npos;
>                                                            ^
> ..\include\string(788,28): note: previous declaration is here
>      static const size_type npos = -1;
>                             ^
>
> (Relatedly, is there any buildbot set up for libcxx on windows?)
>
> // Martin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200116/82879e4c/attachment.html>


More information about the libcxx-commits mailing list