[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-06-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 --- Comment #15 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Fri Jun 5 16:25:26 2015 New Revision: 224157 URL: https://gcc.gnu.org/viewcvs?rev=224157root=gccview=rev Log: PR c++/65942 * decl2.c

[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-06-03 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 --- Comment #14 from Avi Kivity a...@cloudius-systems.com --- Please consider backporting this to 5.2.

[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-06-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 --- Comment #13 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Tue Jun 2 02:28:25 2015 New Revision: 224008 URL: https://gcc.gnu.org/viewcvs?rev=224008root=gccview=rev Log: PR c++/65942 * decl2.c

[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-05-17 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 --- Comment #10 from Avi Kivity a...@cloudius-systems.com --- Any chance that the fix can be committed? gcc 5 is useless for me without this.

[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-05-17 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 --- Comment #12 from Harald van Dijk harald at gigawatt dot nl --- (In reply to Harald van Dijk from comment #11) The programs in my comment here are accepted by G++ 4.5.4 (with -std=c++0x), and rejected by 4.6.4 and later. But as G++ 4.5

[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-05-17 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 Harald van Dijk harald at gigawatt dot nl changed: What|Removed |Added CC||harald at

[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org --- It's due to the addition of C++14 constexpr throughout the library, the program works if preceded by #include bits/c++config.h #undef _GLIBCXX14_CONSTEXPR #define

[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED