harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6266) Building in release mode fails with gcc version 4.3.3
Date Thu, 16 Jul 2009 03:44:14 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nathan Beyer resolved HARMONY-6266.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M11

I tried the patch again with a fresh rebuild and everything passed with multiple runs, so
I applied the patch.

Please verify that it's as expected. Thanks.

> 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
>    Affects Versions: 5.0M10
>         Environment: Linux 32 running 2.6.28-11-generic #42-Ubuntu
>            Reporter: Catherine Hope
>            Assignee: Nathan Beyer
>            Priority: Minor
>             Fix For: 5.0M11
>
>         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