gcc 5 copy list initialization creates undefined reference

Bug #1643538 reported by sobczyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-5 (Ubuntu)
New
Undecided
Unassigned

Bug Description

g++ > 5.1
introduced a regression

Attached code compiled with g++ -std=c++11 test.cpp

creates:
/tmp/ccDj6FO4.o: In function `main':
test.cpp:(.text+0xc7): undefined reference to `std::shared_ptr<bool>::shared_ptr()'
collect2: error: ld returned 1 exit status

all clang++ compilers compile this code fine

Revision history for this message
sobczyk (sobczyk) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.