# HG changeset patch # User timkelly # Date 1245107965 18000 # Node ID 994d96533cf041c5dff16a1571b94a05493c019d # Parent 0575745dfefb46137a24105dd5b2f45622e675b0 fix bug 9268 diff -r 0575745dfefb -r 994d96533cf0 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 16:58:16 2009 -0500 +++ b/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 @@ -111,6 +111,11 @@ if (hasExcludedExtension(extensionsToExclude)) { return false; } + + if (msgDescription.toLowerCase().contains("warning: ")){ + msgSeverity = IMarkerGenerator.SEVERITY_WARNING; + } + setFile(errorParserManager); errorParserManager.generateExternalMarker(msgIFile, msgLineNumber, msgDescription, msgSeverity, null, externalFilePath); return true;