[Webkit-unassigned] [Bug 44093] New: Mac compilation errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 17 00:16:10 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=44093

           Summary: Mac compilation errors
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zherczeg at webkit.org
                CC: ap at webkit.org, alex at igalia.com


The strange thing is, these compilation fails are appear only on our mac:

FEGaussianBlur.cpp:24 (for alex at igalia.com)
static const float gGaussianKernelFactor = (3 * sqrtf(2 * piFloat) / 4.f);

ERROR: FEGaussianBlur.o has one or more global initializers in it! (/Users/hzoli/WebKitHZ/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/i386/FEGaussianBlur.o), near WebCore::FEGaussianBlur::FEGaussianBlur(WebCore::FilterEffect*, float const&, float const&)
** BUILD FAILED **

The problem is: sqrtf is a function call, cannot be evaluated in compile time.

ResourceHandleMac.mm:1065 (for ap at webkit.org)
m_error = [error copy];

/Users/hzoli/WebKitHZ/WebCore/platform/network/mac/ResourceHandleMac.mm:1065: warning: invalid receiver type 'ResourceError'

These are quite annyoing when you compile on mac. Do you have any idea?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list