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] Commented: (HARMONY-6266) Building in release mode fails with gcc version 4.3.3
Date Sun, 12 Jul 2009 17:42:14 GMT

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

Nathan Beyer commented on HARMONY-6266:
---------------------------------------

I'm curious how you were getting this to fail. I'm running the same GCC on the same version
of Ubuntu and the federated build from the top-level, which is release, doesn't error out.
This is aside from the patch, which I'll still try to apply.

> 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