[MacPorts] #67985: gtk4 @4.12.0: Should not need to blacklist clang < 1200

MacPorts noreply at macports.org
Fri Aug 18 16:41:47 UTC 2023


#67985: gtk4 @4.12.0: Should not need to blacklist clang < 1200
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  mascguy
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  gtk4
------------------------+----------------------
 [changeset:af16ca4a839109b472f87686ee7ccbd376ec7ff8/macports-ports gtk4
 blacklists clang < 1200] because:

 {{{
 ../gtk-4.12.0/gdk/x11/gdkglcontext-glx.c:666:56: error: suggest braces
 around initialization of subobject [-Werror,-Wmissing-braces]
                            (XSetWindowAttributes[1]) { 0, });
                                                        ^
                                                        {}
 6 warnings and 1 error generated.
 }}}

 But the project is deliberately enabling warnings for this specific error
 (and others):

 {{{
 Compiler for C supports arguments -Werror=missing-braces: YES
 }}}

 So the developers want to fix these problems, so it should be reported to
 them so it can be fixed and the blacklist can then be removed.

 Alternately, if they will not fix the problem, we should remove `-Werror`
 for this warning, [changeset:d8f5d9efb276ff988ec95eba414226aef8c32c2a
 /macports-ports as we already do for another warning]. (Why do we do that?
 Isn't that an upstream issue too?)

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


More information about the macports-tickets mailing list