21 lines
880 B
Diff
21 lines
880 B
Diff
diff -u -r org/eclipse/jdt/internal/compiler/batch/GCCMain.java org/eclipse/jdt/internal/compiler/batch/GCCMain.java
|
|
--- a/org/eclipse/jdt/internal/compiler/batch/GCCMain.java 2008-08-13 13:46:30.000000000 -0400
|
|
+++ b/org/eclipse/jdt/internal/compiler/batch/GCCMain.java 2012-04-26 13:36:21.268642702 -0400
|
|
@@ -29,6 +29,7 @@
|
|
import org.eclipse.jdt.internal.compiler.env.AccessRule;
|
|
import org.eclipse.jdt.internal.compiler.env.AccessRuleSet;
|
|
import org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
|
|
+import org.eclipse.jdt.internal.compiler.problem.ProblemSeverities;
|
|
import org.eclipse.jdt.internal.compiler.util.Messages;
|
|
import org.eclipse.jdt.internal.compiler.util.SuffixConstants;
|
|
|
|
@@ -463,7 +464,7 @@
|
|
}
|
|
|
|
if (inhibitAllWarnings)
|
|
- disableWarnings();
|
|
+ disableAll(ProblemSeverities.Warning);
|
|
if (treatWarningsAsErrors)
|
|
turnWarningsToErrors();
|
|
|