https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89611
--- Comment #1 from xavier at cremaschi dot fr ---
I forgot that default inheritance is private. My bad. This is NOT a bug.
3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: xavier at cremaschi dot fr
Target Milestone: ---
$ g++ --version
g++ (Debian 8.2.0-21) 8.2.0
The following code compiles :
#include
#include
#include
using namespace std;
template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89605
--- Comment #2 from xavier at cremaschi dot fr ---
rguenth are you sure for the 'link-failure' keyword ?
It's truly a compilation error, triggered while compiling a given c++ file, it
does NOT wait until linking to fail.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89605
--- Comment #1 from xavier at cremaschi dot fr ---
FYI it also compiles if there is no class but just a free function :
#include
#include
#include
using namespace std;
using ConverterFunction = function;
void _foo(
const
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: xavier at cremaschi dot fr
Target Milestone: ---
$ g++ --version
g++ (Debian 8.2.0-21) 8.2.0
The following code does not compile :
#include
#include
#include
using namespace std