Print this page
5878 Additional lint fixes for sunstudio12.1 and more modern OpenSSL
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Reviewed by: Alexander Pyhalov <alp@rsu.ru>
        
@@ -56,10 +56,12 @@
 
 # openssl forces us to ignore dubious pointer casts, thanks to its clever
 # use of macros for stack management.
 LINTFLAGS=      -umx -errtags \
                 -erroff=E_BAD_PTR_CAST_ALIGN,E_BAD_PTR_CAST
+LINTFLAGS +=    -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+LINTFLAGS64 +=  -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
 
 
 LIBS = $(DYNLIB) $(LINTLIB)