You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Tsuzuki Tsuchiya (JIRA)" <ji...@apache.org> on 2018/10/02 13:55:00 UTC

[jira] [Created] (THRIFT-4644) Compiler cannot be compiled on macOS(maybe also on other platforms with clang)

Tsuzuki Tsuchiya created THRIFT-4644:
----------------------------------------

             Summary: 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
             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)