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

ASF GitHub Bot commented on THRIFT-3873:
----------------------------------------

Github user jeking3 commented on a diff in the pull request:

    https://github.com/apache/thrift/pull/1128#discussion_r88804934
  
    --- Diff: compiler/cpp/src/thrift/thriftl.ll ---
    @@ -39,11 +39,17 @@
     #endif
     
     #ifdef _MSC_VER
    -//warning C4102: 'find_rule' : unreferenced label
    -#pragma warning(disable:4102)
    -//avoid isatty redefinition
    +#pragma warning( push )
    +// warning C4267: 'argument' : conversion from 'size_t' to 'int', possible 
loss of data
    +#pragma warning( disable : 4267 )
    +
    +// warning C4102: 'find_rule' : unreferenced label
    +#pragma warning( disable : 4102 )
    +
    +// avoid isatty redefinition
     #define YY_NEVER_INTERACTIVE 1
     
    +// no <unistd.h>
    --- End diff --
    
    Removed in next push.


> Fix various compiler warnings when using VS2010
> -----------------------------------------------
>
>                 Key: THRIFT-3873
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3873
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.10.0
>         Environment: VS2010, Windows
>            Reporter: James E. King, III
>            Assignee: James E. King, III
>            Priority: Trivial
>
> While verifying a defect I had to build the windows thrift C++ library and 
> found a number of compiler warnings that needed to be cleaned up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to