Print this page
8516 Suppress gcc errors with -Wno- in Makefile for usr/src/cmd
*** 18,27 ****
--- 18,28 ----
#
# CDDL HEADER END
#
#
+ # Copyright 2017 Gary Mills
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# cmd/vi/port/Makefile
*** 59,68 ****
--- 60,73 ----
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-address
+ # Suppress errors for: tmp1 n
+ ex_vmain.o exobjs.xpg4/ex_vmain.o exobjs.xpg6/ex_vmain.o := \
+ CERRWARN += -_gcc=-Wno-unused-but-set-variable
+
#
# For message catalogue files
#
POFILES= $(EXOBJS:%.o=%.po) expreserve.po exrecover.po
POFILE= port.po