[Bug c++/54180] a bug using strcat function - it depends on variable declare order, but it should not.
lirex.software at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 18 21:16:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54180
Denis Kolesnik <lirex.software at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
--- Comment #16 from Denis Kolesnik <lirex.software at gmail dot com> 2012-08-18 21:16:21 UTC ---
(In reply to comment #14)
> Can you stop reopening this bug? The problem again is that you are writing
> past the array bounds and anytime that happens it is undefined behavior.
> Please fix the array bounds issue and you will see it works now.
Andrew I did fix my problem, but the program language standard of "C" is
violated.
That is why I consider it is as a bug.
Where I'm wrong here?
More information about the Gcc-bugs
mailing list