[MacPorts] #70912: nodejs14: disable a few warnings-as-errors for successful build on 10.7.5 (11G63)

MacPorts noreply at macports.org
Wed Sep 25 03:49:43 UTC 2024


#70912: nodejs14: disable a few warnings-as-errors for successful build on 10.7.5
(11G63)
--------------------------+----------------------
  Reporter:  i3roly       |      Owner:  ci42
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.10.1
Resolution:               |   Keywords:
      Port:  nodejs14     |
--------------------------+----------------------
Changes (by ryandesign):

 * keywords:  nodejs, nodejs14 =>
 * cc: ryandesign (removed)


Old description:

> adding:
>
> -Wno-error -Wno-enum-constexpr-conversion -Wno-incompatible-function-
> pointer-types -Wno-implicit-function-declaration
>
> resulted in a successful build of nodejs14 on 10.7.5.
>
> i thought it would be helpful to bring this to the attention of the
> maintainer so others could benefit, like my buddy fred.

New description:

 adding:

 {{{
 -Wno-error -Wno-enum-constexpr-conversion -Wno-incompatible-function-
 pointer-types -Wno-implicit-function-declaration
 }}}

 resulted in a successful build of nodejs14 on 10.7.5.

 i thought it would be helpful to bring this to the attention of the
 maintainer so others could benefit, like my buddy fred.

--

Comment:

 Presuming that the build failed before adding these flags, customarily we
 would like you to attach the compressed main.log file showing what the
 problem was.

 Since you already know what the fix is you could submit it as a pull
 request.

 There are many nodejs ports in MacPorts, for different versions of nodejs.
 It would be good to make the same fix to all affected versions.

-- 
Ticket URL: <https://trac.macports.org/ticket/70912#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list