Bug 5086

Summary: Project fails to build on i386 with gcc 4 5218+
Product: WebKit Reporter: Justin Garcia <justin.garcia>
Component: Tools / TestsAssignee: Justin Garcia <justin.garcia>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Patch eric: review+

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.