This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Jan 2017 14:08:06 +0000
- Subject: [Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14
- Auto-submitted: auto-generated
- References: <bug-78991-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |5.5
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I've added a workaround to the libstdc++ code, which will be included in the
gcc 5.5, 6.4 and 7.1 releases.
You'll need the updated libstdc++ headers to be able to compile this code with
clang, e.g. by requesting the Ubuntu GCC maintainers to include this patch in
their gcc builds.