[Bug 433516] New: memset(ptr,x,0) no longer warned about
https://bugzilla.novell.com/show_bug.cgi?id=433516 Summary: memset(ptr,x,0) no longer warned about Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: matz@novell.com ReportedBy: meissner@novell.com QAContact: qa@suse.de CC: rguenther@novell.com Found By: Development in 10.3 and 11.0: $ gcc -O2 -D_FORTIFY_SOURCE=2 xx2.c /tmp/ccsXrPXG.o: In function `main': xx2.c:(.text+0xc): warning: memset used with constant zero length parameter; this could be due to transposed parameters $ in 11.1: $gcc -O2 -D_FORTIFY_SOURCE=2 /xx2.c <nothing> $ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433516
User meissner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=433516#c1
--- Comment #1 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=433516
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=433516#c2
Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=433516
User meissner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=433516#c3
--- Comment #3 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=433516
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=433516#c4
Michael Matz
participants (1)
-
bugzilla_noreply@novell.com