diff options
Diffstat (limited to 'lang/cli/files/patch-tools::build::buildexe.c')
-rw-r--r-- | lang/cli/files/patch-tools::build::buildexe.c | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/lang/cli/files/patch-tools::build::buildexe.c b/lang/cli/files/patch-tools::build::buildexe.c index ec624feba4af..db12a47a2402 100644 --- a/lang/cli/files/patch-tools::build::buildexe.c +++ b/lang/cli/files/patch-tools::build::buildexe.c @@ -1,11 +1,11 @@ $FreeBSD$ ---- tools/build/buildexe.c.orig Thu Jun 20 02:45:40 2002 -+++ tools/build/buildexe.c Fri Jul 26 22:17:07 2002 -@@ -1152,7 +1152,9 @@ - } else if (strstr(p, "might be clobbered by `longjmp' or `vfork'")) { - // Ignore this warning, too +--- tools/build/buildexe.c.orig Sat Nov 2 04:25:49 2002 ++++ tools/build/buildexe.c Fri Apr 25 10:23:19 2003 +@@ -1170,7 +1170,9 @@ + } else if (strstr(p, "invalid offsetof from non-POD type")) { + // Ignore this goto notgcc; - } + } else if (strstr(p, "from ")) { @@ -14,7 +14,7 @@ $FreeBSD$ p1 = strchr(p, ':'); if (!p1) { // not of the form "filename:..." -@@ -1176,6 +1178,20 @@ +@@ -1194,6 +1196,20 @@ } *p1 = '\0'; // null-terminate the line number p1++; @@ -35,13 +35,3 @@ $FreeBSD$ if (TestPrefix(&p1, " warning: ")) { // Found a warning Warning = TRUE; -@@ -2111,7 +2127,8 @@ - } - #ifdef __GNUC__ - else -- if ( TestPrefixPath( &p, "gcc " )) { -+ if ( TestPrefixPath( &p, "cc " )) { -+ {static int i = 0; while (i);} - ThreadState->FilterProc = GCCFilter; - ThreadState->ChildFlags = 0; - if ( strstr( p, "-Wall" ) != NULL || strstr( p, "-Werror" ) != NULL) { |