summaryrefslogtreecommitdiff
path: root/usr/src/lib/print
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/lib/print
parent1a5ea5323390ffdf86f171d238b41e381d2292b9 (diff)
downloadillumos-joyent-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/lib/print')
-rw-r--r--usr/src/lib/print/libipp-core/Makefile.com6
-rw-r--r--usr/src/lib/print/libipp-listener/Makefile.com3
-rw-r--r--usr/src/lib/print/libpapi-common/Makefile.com4
-rw-r--r--usr/src/lib/print/libpapi-dynamic/Makefile.com4
-rw-r--r--usr/src/lib/print/libpapi-ipp/Makefile.com6
-rw-r--r--usr/src/lib/print/libpapi-lpd/Makefile.com2
6 files changed, 17 insertions, 8 deletions
diff --git a/usr/src/lib/print/libipp-core/Makefile.com b/usr/src/lib/print/libipp-core/Makefile.com
index 2b16288cbe..26f48c2dbb 100644
--- a/usr/src/lib/print/libipp-core/Makefile.com
+++ b/usr/src/lib/print/libipp-core/Makefile.com
@@ -22,8 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
LIBRARY = libipp-core.a
VERS = .0
@@ -44,6 +42,10 @@ CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
CPPFLAGS += -I../../libpapi-common/common
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-char-subscripts
+CERRWARN += -_gcc=-Wno-switch
+
MAPFILES = $(SRCDIR)/mapfile
LDLIBS += -lpapi-common -lc
diff --git a/usr/src/lib/print/libipp-listener/Makefile.com b/usr/src/lib/print/libipp-listener/Makefile.com
index 6e06c1a360..4db2966ceb 100644
--- a/usr/src/lib/print/libipp-listener/Makefile.com
+++ b/usr/src/lib/print/libipp-listener/Makefile.com
@@ -52,6 +52,9 @@ CPPFLAGS += -I$(SRCDIR)
CPPFLAGS += -I../../libpapi-common/common
CPPFLAGS += -I../../libipp-core/common
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-uninitialized
+
MAPFILES = $(SRCDIR)/mapfile
LDLIBS += -lipp-core -lpapi -lc -lsocket -lnsl
diff --git a/usr/src/lib/print/libpapi-common/Makefile.com b/usr/src/lib/print/libpapi-common/Makefile.com
index 1f1bd87f89..7948a2261e 100644
--- a/usr/src/lib/print/libpapi-common/Makefile.com
+++ b/usr/src/lib/print/libpapi-common/Makefile.com
@@ -22,8 +22,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
LIBRARY = libpapi-common.a
VERS = .0
@@ -43,6 +41,8 @@ $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
+CERRWARN += -_gcc=-Wno-switch
+
MAPFILES = $(SRCDIR)/mapfile
LDLIBS += -lc -lsocket -lnsl
diff --git a/usr/src/lib/print/libpapi-dynamic/Makefile.com b/usr/src/lib/print/libpapi-dynamic/Makefile.com
index 22b7cacf9f..8a51154c48 100644
--- a/usr/src/lib/print/libpapi-dynamic/Makefile.com
+++ b/usr/src/lib/print/libpapi-dynamic/Makefile.com
@@ -22,8 +22,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
LIBRARY = libpapi.a
VERS = .0
@@ -48,6 +46,8 @@ CPPFLAGS += -I../../libpapi-common/common
CPPFLAGS += -DNSS_SOLARIS
LDLIBS += -lc
+CERRWARN += -_gcc=-Wno-unused-variable
+
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/print/libpapi-ipp/Makefile.com b/usr/src/lib/print/libpapi-ipp/Makefile.com
index e7c55ff51a..f5abebce00 100644
--- a/usr/src/lib/print/libpapi-ipp/Makefile.com
+++ b/usr/src/lib/print/libpapi-ipp/Makefile.com
@@ -22,8 +22,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
LIBRARY = psm-ipp.a
VERS = .1
@@ -52,6 +50,10 @@ CPPFLAGS += -I../../libpapi-common/common
CPPFLAGS += -I../../libipp-core/common
CPPFLAGS += -I../../libhttp-core/common
+CERRWARN += -_gcc=-Wno-type-limits
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-uninitialized
+
MAPFILES = $(SRCDIR)/mapfile
LDLIBS += -L$(ROOTLIBDIR) -R/usr/lib/print -lhttp-core -lmd5
diff --git a/usr/src/lib/print/libpapi-lpd/Makefile.com b/usr/src/lib/print/libpapi-lpd/Makefile.com
index db7396619e..c50fd8b223 100644
--- a/usr/src/lib/print/libpapi-lpd/Makefile.com
+++ b/usr/src/lib/print/libpapi-lpd/Makefile.com
@@ -49,6 +49,8 @@ CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
CPPFLAGS += -I../../libpapi-common/common
+CERRWARN += -_gcc=-Wno-unused-variable
+
MAPFILES = $(SRCDIR)/mapfile
LDLIBS += -lc