mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-16 08:31:06 +00:00
Enhance clang support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37847 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
847052d58a
commit
1293803645
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-05-03 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Framework/PCProjectBuilder.m
|
||||
Enhance clang support.
|
||||
|
||||
2014-05-03 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Framework/PCProjectBuilder.m
|
||||
|
|
|
@ -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:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue