[ https://issues.apache.org/jira/browse/QPID-4484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Huston reassigned QPID-4484: ---------------------------------- Assignee: Steve Huston > 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org