http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60803
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler@googlemail. | |com --- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- Also fails for the 4.9.0 trunk, the relevant part of the error message being <quote> main.cpp: In function 'int main()': main.cpp:29:16: error: void value not ignored as it ought to be int i = fun(p); ^ </quote>