Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47383

qt5 5.5.0 fails to build on OSX 10.11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.4.1, 5.5.0
    • Build tools: Other
    • None
    • Mac OSX 10.11 Beta (15A215h) & Homebrew
    • macOS

    Description

      qt5 fails to build version 5.5.0 using Homebrew on OSX 10.11:

      lalr.cpp:241:1: error: declaration of anonymous struct must be a definition
      struct _Nullable: public std::unary_function<Name, bool>
      ^
      lalr.cpp:241:56: error: expected unqualified-id
      struct _Nullable: public std::unary_function<Name, bool>
                                                            ^
      lalr.cpp:303:98: error: expected expression
               NameList::iterator nn = std::find_if (rule->rhs.begin (), rule->rhs.end (), std::not1 (_Nullable (this)));
                                                                                                      ^
      lalr.cpp:638:107: error: expected expression
                       NameList::iterator first_not_nullable = std::find_if (dot, rule->rhs.end (), std::not1 (_Nullable (this)));
                                                                                                               ^ 
      

      Here's the full log: http://pastebin.ca/3071408

      And here's the bug report @ homebrew: https://github.com/Homebrew/homebrew/issues/42014

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            henrik242 Henrik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes