http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57724
Fanael <fanael4 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fanael4 at gmail dot com --- Comment #1 from Fanael <fanael4 at gmail dot com> --- 12.1/12 (C++03) and 12.1/9 (C++11) state: > A return statement in the body of a constructor shall not specify a return > value. It's a bug in Clang, not in GCC.