This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/81518] missing warning on a violation of attribute const requirements
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jul 2017 22:19:29 +0000
- Subject: [Bug c/81518] missing warning on a violation of attribute const requirements
- Auto-submitted: auto-generated
- References: <bug-81518-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81518
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
And resolving as a duplicate of bug 18487 since the fine details of exactly
when to issue the warning are secondary. The important part of the enhancement
is to help the user write correct code.
*** This bug has been marked as a duplicate of bug 18487 ***