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

Sylwester Lachiewicz resolved THRIFT-4139.
------------------------------------------
    Resolution: Fixed

The flex lexer no longer emits the {{register}} storage class specifier (zero 
occurrences in 
[compiler/cpp/src/thrift/thriftl.ll|https://github.com/apache/thrift/blob/master/compiler/cpp/src/thrift/thriftl.ll]).
 Resolving as Fixed.

> warning: 'register' storage class specifier is deprecated and incompatible 
> with C++1z [-Wdeprecated-register]
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-4139
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4139
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (General)
>            Reporter: Jens Geyer
>            Priority: Major
>         Attachments: travis.log
>
>
> There's a number of occurrences in the travis log of this:
> {code}
> thrift/thriftl.cc:2916:2: warning: 'register' storage class specifier is
>       deprecated and incompatible with C++1z [-Wdeprecated-register]
>         register YY_CHAR yy_c = 1;
>         ^~~~~~~~~
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to