You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Adam Majer (JIRA)" <ji...@apache.org> on 2011/06/15 19:37:47 UTC

[jira] [Created] (QPID-3308) Fails to compile with g++ 4.6.1 - mutable reference in qpid/framing/SendContent.h

Fails to compile with g++ 4.6.1 - mutable reference in qpid/framing/SendContent.h
---------------------------------------------------------------------------------

                 Key: QPID-3308
                 URL: https://issues.apache.org/jira/browse/QPID-3308
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker, C++ Client
    Affects Versions: 0.10
         Environment: $ g++ --version
g++ (Debian 4.6.0-10) 4.6.1 20110526 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.

            Reporter: Adam Majer


In file included from qpid/framing/SendContent.cpp:22:0:
./qpid/framing/SendContent.h:40:27: error: reference `handler' cannot be declared `mutable' [-Werror=permissive]
cc1plus: all warnings being treated as errors


Ideally, this reference could be changed to a pointer and the problem should go away.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org