From 27a80a77dc4301dafe871a4bca5096d6d52317f6 Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 5 Oct 2011 06:21:58 +0000 Subject: [PATCH] Ignore serial and cast warnings git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4697 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/CMakeLists.txt b/java/src/CMakeLists.txt index d1b7b0a5..f5d18227 100644 --- a/java/src/CMakeLists.txt +++ b/java/src/CMakeLists.txt @@ -1,6 +1,6 @@ find_package(Java) -set(DEFAULT_JAVACFLAGS "-source 1.5 -target 1.5") +set(DEFAULT_JAVACFLAGS "-source 1.5 -target 1.5 -Xlint:all,-serial,-cast") set(JAVACFLAGS ${DEFAULT_JAVACFLAGS} CACHE STRING "Java compiler flags (Default: ${DEFAULT_JAVACFLAGS})") message(STATUS "Java compiler flags = ${JAVACFLAGS}") -- 2.39.5