You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2008/07/05 22:52:40 UTC

[jira] Resolved: (HARMONY-5885) [classlib][natives] Treat warnings as errors on unix

     [ 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.