Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 46435 invoked from network); 5 Jul 2008 20:53:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2008 20:53:43 -0000 Received: (qmail 6538 invoked by uid 500); 5 Jul 2008 20:53:44 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 6514 invoked by uid 500); 5 Jul 2008 20:53:44 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 6505 invoked by uid 99); 5 Jul 2008 20:53:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 13:53:44 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 20:52:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 636BC234C151 for ; Sat, 5 Jul 2008 13:52:40 -0700 (PDT) Message-ID: <2090895485.1215291160404.JavaMail.jira@brutus> Date: Sat, 5 Jul 2008 13:52:40 -0700 (PDT) From: "Mark Hindess (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-5885) [classlib][natives] Treat warnings as errors on unix In-Reply-To: <1954968212.1214645145091.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Hindess resolved HARMONY-5885. ----------------------------------- Resolution: Fixed Assignee: Mark Hindess Applied in r674240. > [classlib][natives] Treat warnings as errors on unix > ---------------------------------------------------- > > Key: HARMONY-5885 > URL: https://issues.apache.org/jira/browse/HARMONY-5885 > Project: Harmony > Issue Type: Task > Components: Classlib > Environment: Unix > Reporter: Mark Hindess > Assignee: Mark Hindess > Attachments: treat.warnings.as.errors.diff > > > I think we should treat warnings as errors on unix as we have done on windows. I've fixed most of the warnings but I still see: > [exec] ../shared/additional/GB18030.c:1250: warning: comparison is always true due to limited range of data type > [exec] ../shared/additional/GB18030.c:1281: warning: comparison is always true due to limited range of data type > see HARMONY-4959 and http://www.mail-archive.com/dev@harmony.apache.org/msg10469.html > [exec] XBlitter.cpp:314: warning: deprecated conversion from string constant to 'char*' > [exec] XBlitter.cpp:549: warning: deprecated conversion from string constant to 'char*' > which seem to be caused by Xrender api issues rather than harmony code but are trivial to workaround. > [exec] ../shared/SurfaceDataStructure.h:177: warning: inline function 'void updateCache(SURFACE_STRUCTURE*, JNIEnv*, _jobject*, bool, int, int, int, int)' used but never defined > which I've not looked at. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.