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+

Justin Garcia
Reported 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.
Attachments
Patch (1.74 KB, patch)
2005-09-21 13:41 PDT, Justin Garcia
eric: review+
Justin Garcia
Comment 1 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.
Eric Seidel (no email)
Comment 2 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.
Note You need to log in before you can comment on or make changes to this bug.