[ 
https://issues.apache.org/jira/browse/THRIFT-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053659#comment-14053659
 ] 

Konrad Grochowski commented on THRIFT-1998:
-------------------------------------------

warning also appears in gcc 4.8.3

patch still works 

> TCompactProtocol.tcc - one more warning on Visual 2010
> ------------------------------------------------------
>
>                 Key: THRIFT-1998
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1998
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: visual 2010
> gcc 4.7
>            Reporter: Konrad Grochowski
>         Attachments: last_warning_TCompactProtocol.patch
>
>
> "unreachable code" warning appears for code like
> switch (...) {
> ...
> default:
>   throw ...
> }
> return ... <- unreachable code



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to