diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-11-20 20:23:27 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-11-20 20:23:27 +0000 |
commit | 10bebe205344aae19156d77a9d80f61b1ab2f7f1 (patch) | |
tree | 0a2e3526c381a27188461ac346af3603159dad3e /test/std/containers/associative/map/map.ops/count1.fail.cpp | |
parent | 7228160964964e25a10b863e0a34d14ca1a41719 (diff) |
Fix std::string::data() symbol during library build.
The non-const data() member of std::string is only exposed
in C++17 and beyond. However std::string is externally instantiated
and so the member function needs to be exposed to be externally instantiated.
On Linux and OS X this shouldn't cause a problem, because
_LIBCPP_INLINE_VISIBILITY ensures the symbol is always inlined.
However on Windows, the symbol gets marked dllimport, but
there is no definition to import, causing link errors.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@318690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/std/containers/associative/map/map.ops/count1.fail.cpp')
0 files changed, 0 insertions, 0 deletions