From: DRC Date: Wed, 5 Oct 2011 06:21:58 +0000 (+0000) Subject: Ignore serial and cast warnings X-Git-Tag: v1.1.90~113 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=27a80a77dc4301dafe871a4bca5096d6d52317f6;p=tigervnc.git Ignore serial and cast warnings git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4697 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- 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}")