This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/55322] Suggestion: Warn suspicious usage of arrays of structures
- From: "stilgarwolf at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Nov 2012 18:23:51 +0000
- Subject: [Bug c/55322] Suggestion: Warn suspicious usage of arrays of structures
- Auto-submitted: auto-generated
- References: <bug-55322-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55322
--- Comment #2 from Wolf <stilgarwolf at gmail dot com> 2012-11-15 18:23:51 UTC ---
I know it's legal, but it may be suspicious, like many other legal statements
which are, optionally, warned.
Anyway, such optional warning may be helpful.