[Bug 233655] New: Enable "comparison with string literal" gcc warnings?
https://bugzilla.novell.com/show_bug.cgi?id=233655 Summary: Enable "comparison with string literal" gcc warnings? Product: openSUSE 10.3 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: meissner@novell.com ReportedBy: sndirsch@novell.com QAContact: qa@suse.de CC: dcb314@hotmail.com I wonder whether we should we enable "comparison with string literal" gcc warnings (RPM_OPT_FLAGS) and even trigger a fatal build error? I think we could safe David's resources (rebuilding each package and filing bugreports) and Novell's resources (bugreport handling) as well. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #1 from sndirsch@novell.com 2007-01-11 08:56 MST ------- *** Bug 233328 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmueller@novell.com, meissner@novell.com, | |matz@novell.com Status|NEW |ASSIGNED ------- Comment #2 from meissner@novell.com 2007-01-11 09:01 MST ------- -Wstring-literal-comparison is introduced with gcc4.2, which we do not use yet in abuild. as soon as we switch to it, we can of course enable it. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #3 from dmueller@novell.com 2007-01-11 09:23 MST ------- unfortunately it was so far not possible to test 4.2 in BETA, so this might take a while. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #4 from dcb314@hotmail.com 2007-01-11 12:46 MST ------- (In reply to comment #0)
I wonder whether we should we enable "comparison with string literal" gcc warnings (RPM_OPT_FLAGS) and even trigger a fatal build error? I think we could safe David's resources (rebuilding each package and filing bugreports) and Novell's resources (bugreport handling) as well.
Fame at last ;-> I've got plenty of spare time. Also, only about 90% of the warnings are worth fixing, so I wouldn't recommend making it a fatal error, because of the about 10% where it doesn't seem to be a problem. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #5 from mhorvath@novell.com 2007-01-17 02:57 MST ------- *** Bug 235553 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #6 from meissner@novell.com 2007-01-17 10:08 MST ------- These are now enabled and working in BETA (which has gcc4.2) and will also be active in Factory once the new GCC is put there. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #7 from dmueller@novell.com 2007-01-18 06:57 MST ------- *** Bug 229369 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #8 from jhargadon@novell.com 2007-01-18 09:54 MST ------- *** Bug 231180 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #9 from jhargadon@novell.com 2007-01-18 09:55 MST ------- *** Bug 225904 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #10 from dcb314@hotmail.com 2007-01-19 15:58 MST ------- (In reply to comment #0)
I wonder whether we should we enable "comparison with string literal" gcc warnings (RPM_OPT_FLAGS) and even trigger a fatal build error?
I suspect that you could do very similar things for the "x is used uninitialized" gcc warning message. I can't think of any scenario where you would want to read from a local variable that the gcc compiler is sure contains rubbish. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #11 from sndirsch@novell.com 2007-01-19 21:40 MST ------- I suggest to open another bugreport for this request. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #12 from meissner@novell.com 2007-01-20 00:21 MST ------- we already warn for those. I have so-far post poned making those hard errors, since last time we had discussions because they triggered too often. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |240922 nThis| | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 rguenther@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO|240922 | nThis| | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #13 from pgajdos@novell.com 2007-03-08 07:46 MST ------- *** Bug 233016 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #14 from pgajdos@novell.com 2007-03-08 07:48 MST ------- *** Bug 228963 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655 ------- Comment #15 from pgajdos@novell.com 2007-04-18 06:06 MST ------- *** Bug 231181 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233655#c16 --- Comment #16 from Hendrik Vogelsang <hvogel@novell.com> 2007-07-03 09:14:03 MST --- *** Bug 224662 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=224662 -- 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=233655#c17 --- Comment #17 from Hendrik Vogelsang <hvogel@novell.com> 2007-07-03 09:14:23 MST --- *** Bug 228222 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=228222 -- 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=233655#c18 --- Comment #18 from Hendrik Vogelsang <hvogel@novell.com> 2007-07-03 09:14:35 MST --- *** Bug 229785 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=229785 -- 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=233655 User adrian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=233655#c19 --- Comment #19 from Adrian Schröter <adrian@novell.com> 2008-07-09 00:34:11 MDT --- *** Bug 225435 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=225435 -- 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.
participants (1)
-
bugzilla_noreply@novell.com