http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59563
Bug ID: 59563 Summary: Warning for void as parameter list in C++ Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eugene.zelenko at gmail dot com Hi! I think will be great to have warning when void is used as function parameter for indication of empty arguments list in C++ code (i. e. not extern "C"). Such coding style have sense in ANSI C, but not C++. Eugene.