Opened 2 years ago

Closed 2 years ago

#65745 closed defect (fixed)

webkit2-gtk: massive number of compilation warnings, particularly for deprecated declarations

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: pending Cc:
Port: webkit2-gtk

Description

There are a massive number of compilation warnings for this port, polluting the logs:

$ xz --decompress --stdout webkit2-gtk-warnings-10.12.txt.xz | gsed -n 's|.*\(\[.*\]\)$|\1|p' | gsort | guniq --count | gsort -hr
 240360 [-Wdeprecated-declarations]
   1225 [-Wimplicit-const-int-float-conversion]
    796 [-Wdeprecated-copy]
    450 [-Wcast-align]
    485 [-Wdeprecated-copy-with-user-provided-copy]
     23 [-Wformat]
     15 [-Wbitwise-instead-of-logical]
     14 [-Wfinal-dtor-non-final-class]
     12 [-Wunused-lambda-capture]
     10 [-Wnon-c-typedef-for-linkage]
      3 [-Wunused-but-set-variable]
      3 [-Wunused-private-field]
      1 [-Wmissing-field-initializers]
      1 [-Wunused-variable]

At a minimum, we should disable warnings for deprecated declarations.

Attachments (1)

webkit2-gtk-warnings-10.12.txt.xz (814.3 KB) - added by mascguy (Christopher Nielsen) 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by mascguy (Christopher Nielsen)

comment:1 Changed 2 years ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In f0844fe6996db7f10863ba711408563b34ef8927/macports-ports (master):

webkit2-gtk*: disable deprecation warnings
Fixes: #65745

Note: See TracTickets for help on using tickets.