Add --Wno-fatal to turn off abort on warnings.

This commit is contained in:
Wilson Snyder
2011-03-22 18:09:39 -04:00
parent df0aa483ce
commit fb70a1f4ab
8 changed files with 56 additions and 1 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ void V3Error::abortIfErrors() {
}
void V3Error::abortIfWarnings() {
if (errorOrWarnCount()) {
if (v3Global.opt.warnFatal() ? errorOrWarnCount() : errorCount()) {
v3fatal ("Exiting due to "<<dec<<errorOrWarnCount()<<" warning(s)\n");
}
}