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

Frank Meerkoetter updated THRIFT-2160:
--------------------------------------

    Attachment: warning.patch

Proposed fix
                
> Warning in thrift.h when compiling with -Wunused and NDEBUG
> -----------------------------------------------------------
>
>                 Key: THRIFT-2160
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2160
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: gcc 4.7
> Linux
>            Reporter: Frank Meerkoetter
>            Priority: Minor
>         Attachments: warning.patch
>
>
> I get a warning for an unused parameter when doing release builds (as the 
> assert macro is expanded to nothing). This breaks my build as i am also using 
> -Werror.

--
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

Reply via email to