fix bug 9268 (merge commit)
authortimkelly
Mon, 15 Jun 2009 18:29:57 -0500
changeset 248 e9eda7f93c08
parent 247 994d96533cf0 (current diff)
parent 246 74d1ecef05c2 (diff)
child 250 a2c610d72af3
fix bug 9268 (merge commit)
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 18:19:25 2009 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/error/parsers/RCOMPErrorParser.java	Mon Jun 15 18:29:57 2009 -0500
@@ -117,6 +117,9 @@
 		}
 		
 		setFile(errorParserManager);
+		if (msgDescription.toLowerCase().contains("warning:")){
+			msgSeverity = IMarkerGenerator.SEVERITY_WARNING;
+		}
 		errorParserManager.generateExternalMarker(msgIFile, msgLineNumber, msgDescription, msgSeverity, null, externalFilePath);
 		return true;
 	}