[Bug c++/59563] New: Warning for void as parameter list in C++
eugene.zelenko at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Dec 19 18:38:00 GMT 2013
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.
More information about the Gcc-bugs
mailing list