You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "chenta lee (JIRA)" <qp...@incubator.apache.org> on 2009/07/20 04:35:14 UTC

[jira] Created: (QPID-1993) Solved the "ignoring return vaule" error

Solved the "ignoring return vaule" error
----------------------------------------

                 Key: QPID-1993
                 URL: https://issues.apache.org/jira/browse/QPID-1993
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker, C++ Client
         Environment: Ubuntu 9.04
GCC 4.3.3
            Reporter: chenta lee
            Priority: Minor


Every time I get the latest source code from the repository. The compiler always complain about ignoring return value. 
The original trick to suppress this warning seems ok. But maybe the recent version of gcc doesn't accept this trick anymore. So I decide to use a temporary variable to handle this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (QPID-1993) Solved the "ignoring return value" error

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733184#action_12733184 ] 

Gordon Sim commented on QPID-1993:
----------------------------------

Thanks Chenta!

> Solved the "ignoring return value" error
> ----------------------------------------
>
>                 Key: QPID-1993
>                 URL: https://issues.apache.org/jira/browse/QPID-1993
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>         Environment: Ubuntu 9.04
> GCC 4.3.3
>            Reporter: chenta lee
>            Assignee: Gordon Sim
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: patch.diff
>
>
> Every time I get the latest source code from the repository. The compiler always complain about ignoring return value. 
> The original trick to suppress this warning seems ok. But maybe the recent version of gcc doesn't accept this trick anymore. So I decide to use a temporary variable to handle this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (QPID-1993) Solved the "ignoring return value" error

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim updated QPID-1993:
-----------------------------

    Assignee: Gordon Sim
     Summary: Solved the "ignoring return value" error  (was: Solved the "ignoring return vaule" error)

> Solved the "ignoring return value" error
> ----------------------------------------
>
>                 Key: QPID-1993
>                 URL: https://issues.apache.org/jira/browse/QPID-1993
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>         Environment: Ubuntu 9.04
> GCC 4.3.3
>            Reporter: chenta lee
>            Assignee: Gordon Sim
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: patch.diff
>
>
> Every time I get the latest source code from the repository. The compiler always complain about ignoring return value. 
> The original trick to suppress this warning seems ok. But maybe the recent version of gcc doesn't accept this trick anymore. So I decide to use a temporary variable to handle this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (QPID-1993) Solved the "ignoring return value" error

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim resolved QPID-1993.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6

Committed as r795752.

> Solved the "ignoring return value" error
> ----------------------------------------
>
>                 Key: QPID-1993
>                 URL: https://issues.apache.org/jira/browse/QPID-1993
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>         Environment: Ubuntu 9.04
> GCC 4.3.3
>            Reporter: chenta lee
>            Assignee: Gordon Sim
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: patch.diff
>
>
> Every time I get the latest source code from the repository. The compiler always complain about ignoring return value. 
> The original trick to suppress this warning seems ok. But maybe the recent version of gcc doesn't accept this trick anymore. So I decide to use a temporary variable to handle this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (QPID-1993) Solved the "ignoring return vaule" error

Posted by "chenta lee (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chenta lee updated QPID-1993:
-----------------------------

    Attachment: patch.diff

This patch solved the issue I just posted.

> Solved the "ignoring return vaule" error
> ----------------------------------------
>
>                 Key: QPID-1993
>                 URL: https://issues.apache.org/jira/browse/QPID-1993
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>         Environment: Ubuntu 9.04
> GCC 4.3.3
>            Reporter: chenta lee
>            Priority: Minor
>         Attachments: patch.diff
>
>
> Every time I get the latest source code from the repository. The compiler always complain about ignoring return value. 
> The original trick to suppress this warning seems ok. But maybe the recent version of gcc doesn't accept this trick anymore. So I decide to use a temporary variable to handle this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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