Opened 7 hours ago

Last modified 7 hours ago

#70912 assigned enhancement

nodejs14: disable a few warnings-as-errors for successful build on 10.7.5 (11G63) — at Version 1

Reported by: i3roly Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: nodejs14

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (2)

comment:1 Changed 7 hours ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Description: modified (diff)
Keywords: nodejs nodejs14 removed

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.

Changed 6 hours ago by i3roly

Attachment: nodejs14_main.log.gz added

build lawg

Note: See TracTickets for help on using tickets.