qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleš Trček <Ales.Tr...@halcom.si>
Subject RE: Circular reference in qpidc
Date Thu, 23 May 2013 12:32:07 GMT

Thanx, the fix is OK so this issue is resolved.


-----Original Message-----
From: Darryl L. Pierce [mailto:dpierce@redhat.com] 
Sent: Tuesday, May 21, 2013 2:45 PM
To: users@qpid.apache.org
Subject: Re: Circular reference in qpidc

On Mon, May 20, 2013 at 09:23:10PM +0000, Aleš Trček wrote:
> Hi all,
> I am trying to compile qpidc 0.20 on AIX, and have come across a strange issue... Compiling
the qpid/framing/AMQP_ServerProxy.o object, the compiler produces the following error:
> "qpid_build/qpidc-0.20/src/qpid/framing/Handler.h", line 52.47: 1540-0407 (S) The base
class "Handler" contains a circular reference back to "Functor".

This popped up on my radar back in February when I started working with GCC 4.8.0 (early versions
handled the code fine). I commited this fix:

commit 631f31a401f308e93303d5cc3a60f03f4c5eca34
Author: Darryl L. Pierce <mcpierce@apache.org>
Date:   Tue Feb 12 19:26:13 2013 +0000

    QPID-4579: Fixes building Qpid under the latest GCC (4.8.0).
    Moves the definition of Functor and MemFuncRef out of Handler class
    definition. Fixes the build failure in later versions of GCC.
    Contributed by: Petr Machata <pmachata@redhat.com>
    git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1445322 13f79535-47bb-0310-9956-ffa450edef68

You can pull that patch and apply it on top of 0.20 to fix the issue.

Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.

View raw message