#67546 closed defect (fixed)

w3m fails to build with gcc-4.2: cc1: error: unrecognized command line option "-Wnull-dereference"

Reported by: barracuda156 Owned by: mohd-akram (Mohamed Akram)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: tiger, leopard, snowleopard Cc:
Port: w3m

Description

/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

Change History (1)

comment:1 Changed 18 months ago by mohd-akram (Mohamed Akram)

Resolution: fixed
Status: assignedclosed

In 8e612074ece9574ac7e5a6492b89a304946a558b/macports-ports (master):

w3m: fix build with GCC 4.2

Fixes: #67546

Note: See TracTickets for help on using tickets.