[Webkit-unassigned] [Bug 49655] New: [Qt] using compiler flag /EHsc breaks build webkit 2.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 17 04:28:01 PST 2010


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

           Summary: [Qt] using compiler flag /EHsc breaks build webkit 2.0
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bleukousuke at inbox.com


I stumbled on this when compiling qt4.7 with msvc9
earlier versions use /GX as standard

How to reproduce:
compiling qtwebkit 2.0 trunk (seperate not qt4.7) without /EHsc 
compiling qtwebkit 2.0 trunk with environment variable CL= /EHsc

/EHsc is standard in msvc9
 and optional in msvc8

the code warning in the end of qtwebkit2.0 claims something in the code isnt usable with /EHsc
and a macro redefinition of _HAS_TR1 is also solved when not using /EHsc

but this is not to be taken literally

because if you use msvc10 it should use /EHsc as standard
I had it also as an environment variable (by mistake)
when this is the case, the build fails
but when I remove the environment variable
it works like a charm

Funny enough
qt4.7 has the same problem as msvc2008
with the environment variable

and msvc2010 without the environment variable

I'll post some logs as a follow-up later

-- 
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