[Bug c++/60803] Trivial example of overloading in the presence of inheritance fails
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Thu Apr 10 05:45:00 GMT 2014
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>
More information about the Gcc-bugs
mailing list