[Bug c/44179] New: warn about sizeof(char)
zackw at panix dot com
gcc-bugzilla@gcc.gnu.org
Mon May 17 22:08:00 GMT 2010
sizeof(char) is defined to be 1, and is therefore almost always unnecessary.
It would be nice if the C and C++ front ends could complain about it.
--
Summary: warn about sizeof(char)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zackw at panix dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44179
More information about the Gcc-bugs
mailing list