summaryrefslogtreecommitdiff
path: root/usr/src/cmd/lp
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2012-07-22 16:03:46 -0400
committerRichard Lowe <richlowe@richlowe.net>2012-09-22 19:47:23 -0400
commit7014882c6a3672fd0e5d60200af8643ae53c5928 (patch)
tree2c46b144ad1c8047ab5b22280d7f3920fa47c453 /usr/src/cmd/lp
parent1a5ea5323390ffdf86f171d238b41e381d2292b9 (diff)
downloadillumos-gate-7014882c6a3672fd0e5d60200af8643ae53c5928.tar.gz
2933 compiler warning gags need better granularity
Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/cmd/lp')
-rw-r--r--usr/src/cmd/lp/Makefile.lp11
-rw-r--r--usr/src/cmd/lp/lib/filters/Makefile7
2 files changed, 14 insertions, 4 deletions
diff --git a/usr/src/cmd/lp/Makefile.lp b/usr/src/cmd/lp/Makefile.lp
index a650c0323a..90814cf119 100644
--- a/usr/src/cmd/lp/Makefile.lp
+++ b/usr/src/cmd/lp/Makefile.lp
@@ -85,6 +85,17 @@ LINTSEC = $(LPLIB)/secure/llib-llpsec.ln
LINTUSR = $(LPLIB)/users/llib-llpusr.ln
CERRWARN += -_gcc=-Wno-sequence-point
+CERRWARN += -_gcc=-Wno-implicit-function-declaration
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-value
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += -_gcc=-Wno-clobbered
+CERRWARN += -_gcc=-Wno-empty-body
+CERRWARN += -_gcc=-Wno-extra
+CERRWARN += -_gcc=-Wno-address
all:= TARGET= all
install:= TARGET= install
diff --git a/usr/src/cmd/lp/lib/filters/Makefile b/usr/src/cmd/lp/lib/filters/Makefile
index 0d44046486..4b91ddcc4b 100644
--- a/usr/src/cmd/lp/lib/filters/Makefile
+++ b/usr/src/cmd/lp/lib/filters/Makefile
@@ -23,10 +23,6 @@
# Copyright 1990-2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/lp/lib/filters/Makefile
-#
LIBRARY = liblpflt.a
@@ -53,6 +49,9 @@ LIBS = $(LIBRARY)
CPPFLAGS = -I../../include $(CPPFLAGS.master)
+CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-parentheses
+
POFILE = lp_lib_filters.po
.KEEP_STATE: