fix bug 9268
authortimkelly
Mon, 15 Jun 2009 18:13:28 -0500
changeset 246 74d1ecef05c2
parent 244 87e439e53c32
child 248 e9eda7f93c08
fix bug 9268
builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/error/parsers/RCOMPErrorParser.java
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/error/parsers/RCOMPErrorParser.java	Mon Jun 15 14:08:15 2009 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/error/parsers/RCOMPErrorParser.java	Mon Jun 15 18:13:28 2009 -0500
@@ -112,6 +112,9 @@
 			return false;
 		}
 		setFile(errorParserManager);
+		if (msgDescription.toLowerCase().contains("warning:")){
+			msgSeverity = IMarkerGenerator.SEVERITY_WARNING;
+		}
 		errorParserManager.generateExternalMarker(msgIFile, msgLineNumber, msgDescription, msgSeverity, null, externalFilePath);
 		return true;
 	}