[Webkit-unassigned] [Bug 127283] New: [GTK] Fix a c++11 compliance issue for fontconfig

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 20 04:13:14 PST 2014


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

           Summary: [GTK] Fix a c++11 compliance issue for fontconfig
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: changseok.oh at collabora.com


A build failure happens when building with clang.

In file included from ../../Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp:29:
In file included from /home/shivamidow/Projects/WebKit/WebKitBuild/Dependencies/Root/include/cairo/cairo-ft.h:50:
/home/shivamidow/Projects/WebKit/WebKitBuild/Dependencies/Root/include/fontconfig/fontconfig.h:116:39: error: 
      invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
#define FC_CACHE_SUFFIX             ".cache-"FC_CACHE_VERSION
                                             ^
/home/shivamidow/Projects/WebKit/WebKitBuild/Dependencies/Root/include/fontconfig/fontconfig.h:117:45: error: 
      invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
#define FC_DIR_CACHE_FILE           "fonts.cache-"FC_CACHE_VERSION
                                                  ^
/home/shivamidow/Projects/WebKit/WebKitBuild/Dependencies/Root/include/fontconfig/fontconfig.h:118:47: error: 
      invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
#define FC_USER_CACHE_FILE          ".fonts.cache-"FC_CACHE_VERSION
                                                   ^
  CXX      Source/WebCore/bridge/libWebCore_la-NP_jsobject.lo
  CXX      Source/WebCore/bridge/libWebCore_la-npruntime.lo

So I propose to apply a proper patch to fontconfig or else to bump fontconfig to at lease 2.9.91

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