Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4644

Compiler cannot be compiled on macOS(maybe also on other platforms with clang)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.12.0
    • 0.12.0
    • Compiler (General)
    • None
    • macOS High Sierra 10.13.5

      Apple LLVM version 9.0.0 (clang-900.0.39.2)

    • Patch Available

    Description

      I tried to compile the thrift compiler of 014f53f 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jking3 James E. King III
            Tsuzu Tsuzuki Tsuchiya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment