http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60258
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Why the auto my_func() -> void rather than void my_func() ? The fact that C++11 allows the former form doesn't mean the latter form is deprecated, and in the case when the return type doesn't depend on argument types it doesn't make any sense to use that form.