[MacPorts] #65745: webkit2-gtk: massive number of compilation warnings, particularly for deprecated declarations

MacPorts noreply at macports.org
Wed Aug 31 12:46:55 UTC 2022


#65745: webkit2-gtk: massive number of compilation warnings, particularly for
deprecated declarations
---------------------+-------------------------
 Reporter:  mascguy  |      Owner:  mascguy
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.7.2
 Keywords:  pending  |       Port:  webkit2-gtk
---------------------+-------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/65745>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list