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

James E. King III closed THRIFT-4644.
-------------------------------------

> Compiler cannot be compiled on macOS(maybe also on other platforms with clang)
> ------------------------------------------------------------------------------
>
>                 Key: THRIFT-4644
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4644
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (General)
>    Affects Versions: 0.12.0
>         Environment: macOS High Sierra 10.13.5
> Apple LLVM version 9.0.0 (clang-900.0.39.2)
>            Reporter: Tsuzuki Tsuchiya
>            Assignee: James E. King III
>            Priority: Critical
>             Fix For: 0.12.0
>
>
> I tried to compile the thrift compiler of 
> [014f53f|https://github.com/apache/thrift/commit/014f53f6582fbae8146ae291d471382016091a06]
>  on macOS, but I could not.
> This is an error message I got.
> *src/thrift/generate/t_py_generator.cc:338:25:* *error:* 
> *'t_py_generator::lang_keywords' hides overloaded virtual function 
> [-Werror,-Woverloaded-virtual]*
>   std::set<std::string> lang_keywords() {
>                         *^*
> *./src/thrift/generate/t_generator.h:106:33: note:* hidden overloaded virtual 
> function 't_generator::lang_keywords' declared here: different qualifiers 
> (const vs none)
>   virtual std::set<std::string> lang_keywords() const;
>                                 *^*
> 1 error generated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to