Bug 5086 - Project fails to build on i386 with gcc 4 5218+
Summary: Project fails to build on i386 with gcc 4 5218+
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Justin Garcia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 13:34 PDT by Justin Garcia
Modified: 2005-09-24 04:02 PDT (History)
0 users

See Also:


Attachments
Patch (1.74 KB, patch)
2005-09-21 13:41 PDT, Justin Garcia
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Garcia 2005-09-21 13:34:38 PDT
/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h:17: warning: variable 'r' might 
be clobbered by 'longjmp' or 'vfork'

Compiler bug <rdar://problem/4213314>, only happens when targetting i386.
Comment 1 Justin Garcia 2005-09-21 13:41:09 PDT
Created attachment 3991 [details]
Patch

Warning is only thrown when compiling on intel, targetting intel, with -Os.

There are some similar workarounds sprinkled throughout KWQ, they're marked
with a comment so that we'll remove them when 4213314 is fixed.
Comment 2 Eric Seidel (no email) 2005-09-21 13:56:18 PDT
Comment on attachment 3991 [details]
Patch

Looks fine to me, as long as those get removed when the bug is resolved.  r=me.