harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6266) Building in release mode fails with gcc version 4.3.3
Date Fri, 10 Jul 2009 13:15:15 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729630#action_12729630
] 

Mark Hindess commented on HARMONY-6266:
---------------------------------------

The last of these is related to one of the messages in HARMONY-5885 so if you fix that one
be sure to uncomment the TODO/WARNFLAGS override in the modules/awt/src/main/native/gl/unix/makefile.


> Building in release mode fails with gcc version 4.3.3
> -----------------------------------------------------
>
>                 Key: HARMONY-6266
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6266
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux 32 running 2.6.28-11-generic #42-Ubuntu
>            Reporter: Catherine Hope
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Building in release mode (the default for building Harmony  Select) will currently fail
on gcc version 4.3.3 as warnings are treated as errors and that compiler version is more strict
in regards to things like not checking return codes of library functions.  The files affected
are:
>      [exec] hyfiletext.c:234: warning: ignoring return value of 'wctomb', declared with
attribute warn_unused_result
>      [exec] hyosdump.c:86: warning: ignoring return value of 'chdir', declared with attribute
warn_unused_result
>      [exec] linux/../hysl.c:306: warning: ignoring return value of 'mbtowc', declared
with attribute warn_unused_result
>      [exec] procimpl.c:176: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
>      [exec] procimpl.c:180: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
>      [exec] procimpl.c:195: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
>      [exec] procimpl.c:215: warning: ignoring return value of 'read', declared with attribute
warn_unused_result
>      [exec] authnix.c:144: warning: ignoring return value of 'getgroups', declared with
attribute warn_unused_result
>      [exec] ../shared/SurfaceDataStructure.h:177: warning: inline function 'void updateCache(SURFACE_STRUCTURE*,
JNIEnv*, _jobject*, bool, int, int, int, int)' used but never defined

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message