Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-26476

Webkit does not build due to unused parameters and -Werror

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 4.8.3
    • 4.8.2
    • Other
    • None
    • Linux, g++ 4.2

    Description

      Some conditional paths in WebKit produce "unused parameter" warnings, which are then treated as errors (WebKit.pri).

      Some examples:

      WebCore/platform/qt/QWebPageClient.h:

      #if USE(ACCELERATED_COMPOSITING)
      virtual void setRootGraphicsLayer(WebCore::PlatformLayer* layer) { }
      [...]
      virtual void markForSync(bool scheduleSync = false) {}

      WebCore/accessibility/AXObjectCache.h

      #if !HAVE(ACCESSIBILITY)
      [...]
      inline void AXObjectCache::postNotification(RenderObject*, AXNotification, bool postToElement, PostType) { }
      inline void AXObjectCache::postNotification(AccessibilityObject*, Document*, AXNotification, bool postToElement, PostType) { }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shausman Simon Hausmann
            chenz Christian Henz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes