You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steve Huston (JIRA)" <ji...@apache.org> on 2012/11/30 02:05:58 UTC

[jira] [Resolved] (QPID-4484) C++ qpidmessaging compile error on RHEL 5 gcc 4.1.2

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

Steve Huston resolved QPID-4484.
--------------------------------

    Resolution: Fixed

Fixed on trunk r1415470.
Judgement call on whether this is a candidate for 0.20 - if RHEL 5 is important, this is required.
                
> C++ qpidmessaging compile error on RHEL 5 gcc 4.1.2
> ---------------------------------------------------
>
>                 Key: QPID-4484
>                 URL: https://issues.apache.org/jira/browse/QPID-4484
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: 0.19
>         Environment: RHEL 5 cmake build with gcc 4.1.2
>            Reporter: Steve Huston
>            Assignee: Steve Huston
>             Fix For: 0.21
>
>
> Building C++ qpidmessaging on RHEL 5 with updated gcc 4.1.2 produces an error:
> cc1plus: warnings being treated as errors
> /qpidbuilds/trunk/qpid/cpp/src/../include/qpid/RangeSet.h: In instantiation of ‘qpid::RangeSet<qpid::framing::SequenceNumber>’:
> /qpidbuilds/trunk/qpid/cpp/src/../include/qpid/framing/SequenceSet.h:32:   instantiated from here
> /qpidbuilds/trunk/qpid/cpp/src/../include/qpid/RangeSet.h:193: warning: lowering visibility of ‘std::ostream& qpid::operator<<(std::ostream&, const qpid::RangeSet<U>&) [with U = U, T = qpid::framing::SequenceNumber]’ to match its type
> make[2]: *** [src/CMakeFiles/qpidmessaging.dir/qpid/messaging/ProtocolRegistry.o] Error 1
> The way to silence this warning is to add -Wno-attributes along with -fvisibility=hidden. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org