diff usr/src/lib/libsldap/Makefile.com @ 13834:58bc6f85b799

2933 compiler warning gags need better granularity Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
author Richard Lowe <richlowe@richlowe.net>
date Sun, 22 Jul 2012 16:03:46 -0400
parents e0ac183a8194
children 20c0ad5cefdf
line wrap: on
line diff
--- a/usr/src/lib/libsldap/Makefile.com	Mon Jun 25 21:03:47 2012 -0400
+++ b/usr/src/lib/libsldap/Makefile.com	Sun Jul 22 16:03:46 2012 -0400
@@ -22,9 +22,6 @@
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
-# lib/libsldap/Makefile.com
 
 LIBRARY= libsldap.a
 VERS= .1
@@ -54,6 +51,10 @@
 LINTFLAGS +=	-erroff=E_BAD_PTR_CAST_ALIGN
 LINTFLAGS64 +=	-erroff=E_BAD_PTR_CAST_ALIGN
 
+CERRWARN +=	-_gcc=-Wno-parentheses
+CERRWARN +=	-_gcc=-Wno-switch
+CERRWARN +=	-_gcc=-Wno-uninitialized
+
 .KEEP_STATE:
 
 all: $(LIBS)