2567 – [patch] Option To Not Treat Warnings As Errors

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2567 - [patch] Option To Not Treat Warnings As Errors
Summary: [patch] Option To Not Treat Warnings As Errors
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 All
: P2 enhancement
Assignee: Walter Bright
URL:
Keywords: patch
Depends on:
Blocks:
Reported: 2009年01月08日 01:47 UTC by Nick Sabalausky
Modified: 2014年03月01日 00:36 UTC (History)
2 users (show)

See Also:


Attachments
Patch against 1.043 (4.60 KB, patch)
2009年05月10日 01:06 UTC, Nick Sabalausky
Details | Diff
Patch against 1.043 (fixed indentations) (4.02 KB, patch)
2009年05月10日 21:46 UTC, Nick Sabalausky
Details | Diff
Show Obsolete (1) Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Nick Sabalausky 2009年01月08日 01:47:09 UTC
I want to be informed of warnings when compiling, but I don't want their presence to prevent the build from succeeding, and I don't want to workaround by setting up my build system to have both "with warnings" and "without warning" (I'd end up needing at least three: "Debug / Warnings", "Debug / No Warnings", "Release"). There should be an option to disable "Treat warnings as errors".
Comment 1 Nick Sabalausky 2009年05月10日 01:06:02 UTC
Created attachment 354 [details] 
Patch against 1.043
Comment 2 Leandro Lucarella 2009年05月10日 14:15:38 UTC
It seems that your patch has some small indentation issues, see
http://d.puremagic.com/issues/attachment.cgi?id=354&action=diff#..\..\..\..\dmd.1.043\dmd\src\dmd/mars.c_sec4 
Comment 3 Nick Sabalausky 2009年05月10日 21:46:39 UTC
Created attachment 357 [details] 
Patch against 1.043 (fixed indentations)
Comment 4 Walter Bright 2010年03月08日 22:19:05 UTC
Added -wi switch for dmd 1.057 and 2.041


AltStyle によって変換されたページ (->オリジナル) /