Author: rmottola
Date: Tue May 6 15:11:45 2014
New Revision: 37847
URL: http://svn.gna.org/viewcvs/gnustep?rev=37847&view=rev
Log:
Enhance clang support
Modified:
apps/projectcenter/trunk/ChangeLog
apps/projectcenter/trunk/Framework/PCProjectBuilder.m
Modified: apps/projectcenter/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/ChangeLog?rev=37847&r1=37846&r2=37847&view=diff
==============================================================================
--- apps/projectcenter/trunk/ChangeLog (original)
+++ apps/projectcenter/trunk/ChangeLog Tue May 6 15:11:45 2014
@@ -1,3 +1,8 @@
+2014-05-03 Riccardo Mottola <[email protected]>
+
+ * Framework/PCProjectBuilder.m
+ Enhance clang support.
+
2014-05-03 Riccardo Mottola <[email protected]>
* Framework/PCProjectBuilder.m
Modified: apps/projectcenter/trunk/Framework/PCProjectBuilder.m
URL:
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/Framework/PCProjectBuilder.m?rev=37847&r1=37846&r2=37847&view=diff
==============================================================================
--- apps/projectcenter/trunk/Framework/PCProjectBuilder.m (original)
+++ apps/projectcenter/trunk/Framework/PCProjectBuilder.m Tue May 6
15:11:45 2014
@@ -1105,7 +1105,7 @@
if (lastEL == ELIncluded) NSLog(@"+++ELIncluded");
if (lastEL == ELError) NSLog(@"+++ELError");
if (lastEL == ELNone) NSLog(@"+++ELNone");*/
-// NSLog(@"components: %lu, %@", (unsigned long)[components count],
components);
+ //NSLog(@"components: %lu, %@", (unsigned long)[components count],
components);
if ([errorArray count] > 0)
{
lastFile = [[errorArray lastObject] objectForKey:@"File"];
@@ -1156,6 +1156,10 @@
type = [components objectAtIndex:typeIndex];
warningsCount++;
}
+ else if ((typeIndex = [components indexOfObject:@" note"]) !=
NSNotFound) // generated by clang
+ {
+ type = [components objectAtIndex:typeIndex];
+ }
else if ((typeIndex = [components indexOfObject:@" error"]) !=
NSNotFound)
{
type = [components objectAtIndex:typeIndex];
@@ -1167,7 +1171,7 @@
errorsCount++;
}
- // NSLog(@"typeIndex: %u", (unsigned int)typeIndex);
+ // NSLog(@"typeIndex: %u", (unsigned int)typeIndex);
// position
if (typeIndex == 2) // :line:
{
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs