[MacPorts] #67546: w3m fails to build with gcc-4.2: cc1: error: unrecognized command line option "-Wnull-dereference"

MacPorts noreply at macports.org
Thu Jun 1 11:56:24 UTC 2023


#67546: w3m fails to build with gcc-4.2: cc1: error: unrecognized command line
option "-Wnull-dereference"
-----------------------------------------+------------------------
 Reporter:  barracuda156                 |      Owner:  mohd-akram
     Type:  defect                       |     Status:  assigned
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.8.1
 Keywords:  tiger, leopard, snowleopard  |       Port:  w3m
-----------------------------------------+------------------------
 {{{
 /usr/bin/gcc-4.2 -Wall -Wnull-dereference -I. -I. -pipe -Os -arch ppc
 -I./libwc -I/opt/local/libexec/openssl3/include -I/opt/local/include
 -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/local/libexec/w3m\"
 -DCGIBIN_DIR=\"/opt/local/libexec/w3m/cgi-bin\"
 -DHELP_DIR=\"/opt/local/share/w3m\" -DETC_DIR=\"/opt/local/etc\"
 -DCONF_DIR=\"/opt/local/etc/w3m\" -DRC_DIR=\"~/.w3m\"
 -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include  -c -o Str.o
 Str.c
 /usr/bin/gcc-4.2 -Wall -Wnull-dereference -I. -I. -pipe -Os -arch ppc
 -I./libwc -I/opt/local/libexec/openssl3/include -I/opt/local/include
 -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/local/libexec/w3m\"
 -DCGIBIN_DIR=\"/opt/local/libexec/w3m/cgi-bin\"
 -DHELP_DIR=\"/opt/local/share/w3m\" -DETC_DIR=\"/opt/local/etc\"
 -DCONF_DIR=\"/opt/local/etc/w3m\" -DRC_DIR=\"~/.w3m\"
 -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include  -c -o
 hash.o hash.c
 /usr/bin/gcc-4.2 -Wall -Wnull-dereference -I. -I. -pipe -Os -arch ppc
 -I./libwc -I/opt/local/libexec/openssl3/include -I/opt/local/include
 -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/local/libexec/w3m\"
 -DCGIBIN_DIR=\"/opt/local/libexec/w3m/cgi-bin\"
 -DHELP_DIR=\"/opt/local/share/w3m\" -DETC_DIR=\"/opt/local/etc\"
 -DCONF_DIR=\"/opt/local/etc/w3m\" -DRC_DIR=\"~/.w3m\"
 -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include  -c -o
 myctype.o myctype.c
 cc1: error: unrecognized command line option "-Wnull-dereference"
 cc1: error: unrecognized command line option "-Wnull-dereference"
 cc1: error: unrecognized command line option "-Wnull-dereference"
 cc1: error: unrecognized command line option "-Wnull-dereference"
 make: *** [mktable.o] Error 1
 make: *** Waiting for unfinished jobs....
 cc1: error: unrecognized command line option "-Wnull-dereference"
 make: *** [hash.o] Error 1
 make: *** [myctype.o] Error 1
 make: *** [Str.o] Error 1
 make: *** [dummy.o] Error 1
 }}}

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


More information about the macports-tickets mailing list