From: SourceForge.net <no...@so...> - 2007-07-16 18:04:02
|
Patches item #1754967, was opened at 2007-07-16 12:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301645&aid=1754967&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: James Bigler (bigler) Assigned to: Nobody/Anonymous (nobody) Summary: Warning message patch Initial Comment: Here is a patch that can be applied to the current svn HEAD that fixes some of the issues with regards to warning printing. I wanted to be able to do "-Wall -w512", but specifying -Wall made it ignore all the other -w options. There was also a bug that prevented a user from turning on warnings that Swig turns off by default (-w+512 would not work). I moved the code that added the default ignore list after the arguments were parsed. This puts the default list behind any user specified one in the search order. So the following should now work properly: -w+512 : turns on warning 512 that is turned off by default, default ignore list is intact. -Wall : turns on all warnings (like before) -Wall -w512 : turns on all warnings, turns off 512 <nothing> : previous behavior with default ignore list ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301645&aid=1754967&group_id=1645 |