< prev index next >

make/lib/CompileGtest.gmk

Print this page

        

@@ -1,7 +1,7 @@
 #
-# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License version 2 only, as
 # published by the Free Software Foundation.  Oracle designates this

@@ -50,11 +50,12 @@
 
   $(GTEST_JVM_MAPFILE): $(JVM_OUTPUTDIR)/gtest/symbols
         $(call create-mapfile)
 endif
 
-# Disabling switch warning for clang because of test source.
+# Disabling undef, switch, format-nonliteral and tautological-undefined-compare
+# warnings for clang because of test source.
 
 # Note: On AIX, the gtest test classes linked into the libjvm.so push the TOC
 # size beyond 64k, so we need to link with bigtoc. However, this means that
 # -qpic=large would be advisable to lessen the performance effect of bigtoc.
 # But we want to avoid imposing -qpic=large onto the regular libjvm.so, which
< prev index next >