[llvm-bugs] [Bug 41760] New: get_default_resource is undefined
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun May 5 16:49:25 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41760
Bug ID: 41760
Summary: get_default_resource is undefined
Product: libc++
Version: unspecified
Hardware: Macintosh
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: z.zoelec2 at gmail.com
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
The following code fails to compile:
int main()
{
std::experimental::pmr::polymorphic_allocator<char> alloc;
}
with the error:
Undefined symbols for architecture x86_64:
"std::experimental::fundamentals_v1::pmr::get_default_resource()", referenced
from:
Foo::test() in mono_test.pass.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It seems for whatever reason _VSTD_LFTS_PMR::get_default_resource() is declared
but never defined.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190505/72793aff/attachment-0001.html>
More information about the llvm-bugs
mailing list