[Webkit-unassigned] [Bug 28069] New: Add inline to help winscw compiler resolve specialized argument in templated functions.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 7 08:15:52 PDT 2009


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

           Summary: Add inline to help winscw compiler resolve specialized
                    argument in templated functions.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: S60 Emulator
        OS/Version: S60 3rd edition
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yongjun.zhang at nokia.com


Wiscw compiler cannot resolve template argument "mode" from the following code:

----------------------------------------------------
template <int mode> void test_function()
{
    int m = mode; // it complains mode is not defined
}
----------------------------------------------------

If we inline this function, the compiler won't report the error.

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