[Webkit-unassigned] [Bug 143761] [W32] GraphicsContextCairoWin.cpp fails to compile: unallowed function template partial specialization

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 15 09:56:06 PDT 2015


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

LRN <lrn1986 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #250806|                            |review?
              Flags|                            |

--- Comment #1 from LRN <lrn1986 at gmail.com> ---
Created attachment 250806
  --> https://bugs.webkit.org/attachment.cgi?id=250806&action=review
Fix deleteObject prototypte, fix header case

Apparently, <T> is unneeded here:

In file included from ../webkitgtk-2.4.8/Source/WebCore/platform/graphics/win/GraphicsContextCairoWin.cpp:35:0:
../webkitgtk-2.4.8/Source/WTF/wtf/win/GdiObject.h:114:58: error: function template partial specialization 'deleteObject<T>' is not allowed
 template<typename T> inline void deleteObject<T>(T object)
                                                          ^

As a bonus, change GdiObject.h -> GDIObject.h (this matters when
cross-compiling or when using case-sensitive filesystems on W32).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150415/4d2a006b/attachment.html>


More information about the webkit-unassigned mailing list