r359048 - C++ DR2387: a variable template declared wtih (or instantiated with) a

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 24 01:28:16 PDT 2019


Hi Richard,

This seems to break libc++, found while doing an integrate. The errors are:

In file included from valarray:4:
.../include/c++/v1/valarray:1062:60: error: explicit instantiation
declaration of 'valarray<_Tp>' with internal linkage
_LIBCPP_EXTERN_TEMPLATE(_LIBCPP_FUNC_VIS valarray<size_t>::valarray(size_t))
                                                           ^
.../include/c++/v1/valarray:1063:60: error: explicit instantiation
declaration of '~valarray<_Tp>' with internal linkage
_LIBCPP_EXTERN_TEMPLATE(_LIBCPP_FUNC_VIS valarray<size_t>::~valarray())
                                                           ^

I will likely revert the change to unbreak the integrate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190424/471d237d/attachment.html>


More information about the cfe-commits mailing list