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] Updated: (HARMONY-5925) [drlvm] Fails to build with gcc/g++ 4.3
Date Tue, 29 Jul 2008 16:57:32 GMT

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

Mark Hindess updated HARMONY-5925:
----------------------------------

    Component/s: DRLVM

> [drlvm] Fails to build with gcc/g++ 4.3
> ---------------------------------------
>
>                 Key: HARMONY-5925
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5925
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mark Hindess
>
> I've tried to fix a number of warnings which parts of the build treat as errors but I've
not really looked at the following:
> [compile-cc] working_vm/vm/jitrino/src/optimizer/loop_unroll.cpp:377: error: suggest
parentheses around && within ||
> [compile-cc] working_vm/vm/jitrino/src/optimizer/osr.cpp:121: error: suggest parentheses
around && within ||
> [compile-cc] working_vm/vm/jitrino/src/optimizer/Inst.cpp:171: error: suggest parentheses
around && within ||
> [compile-cc] working_vm/vm/jitrino/src/optimizer/Loop.cpp:633: error: suggest parentheses
around && within ||
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32PeepHole.cpp:903: error:
suggest parentheses around && within ||
> [compile-cc] /usr/include/c++/4.3/bits/allocator.h:173: error: passing 'const Jitrino::StlMMAllocator<std::_List_node<int>
>' as 'this' argument of 'bool Jitrino::StlMMAllocator<T>::operator!=(const Jitrino::StlMMAllocator<U>&)
[with U = std::_List_node<int>, T = std::_List_node<int>]' discards qualifiers
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32GCSafePoints.cpp:185: error:
suggest parentheses around && within ||
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:272:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:286:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:291:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:299:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:300:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:307:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:308:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:309:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:317:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:328:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:339:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:347:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:355:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:367:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:368:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:380:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:381:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:389:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:390:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:398:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:399:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:407:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:408:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:416:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:417:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:425:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:426:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:434:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:435:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:443:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:444:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:452:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:453:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:461:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:462:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:470:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:471:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:479:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:480:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:488:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:489:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:497:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:498:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:506:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:507:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp:509:
error: 'strstr' is not a member of 'std'
> [compile-cc] working_vm/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:1174: error:
suggest parentheses around && within ||
> [compile-cc] working_vm/vm/jitrino/src/optimizer/abcd/abcd.cpp:602: error: suggest parentheses
around && within ||
> we should fix these since some of the warnings certainly appear to have been errors -
see r680650 at http://svn.apache.org/viewvc?view=rev&revision=680650 - and some of the
code is certainly quite confusing as it stands - see working_vm/vm/jitrino/src/codegenerator/ia32/Ia32GCSafePoints.cpp
line 185 which has very misleading bracketing and indentation and may well hide an error.

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