Discussion:
[MacPorts] #57751: qt4-mac: lots of errors trying to build with clang-7.0 (presumably related to defaulting to c++17 mode)
MacPorts
2018-12-09 19:27:54 UTC
Permalink
#57751: qt4-mac: lots of errors trying to build with clang-7.0 (presumably related
to defaulting to c++17 mode)
----------------------+-----------------------
Reporter: kencu | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4-mac |
----------------------+-----------------------
Changes (by kencu):

* Attachment "patch-qt4-mac-cpp11-attempts.diff" added.

some patches in an attempt to enable building with clang-7.0
--
Ticket URL: <https://trac.macports.org/ticket/57751>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-09 23:20:54 UTC
Permalink
#57751: qt4-mac: lots of errors trying to build with clang-7.0 (presumably related
to defaulting to c++17 mode)
----------------------+-----------------------
Reporter: kencu | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4-mac |
----------------------+-----------------------

Comment (by michaelld):

Maybe let's make a branch in your GitHub account for this & make sure I
can write to it. That way we can just keep pushing fixes. Once (if) we get
this working, we can manipulate / squash commits.
--
Ticket URL: <https://trac.macports.org/ticket/57751#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-09 23:19:42 UTC
Permalink
#57751: qt4-mac: lots of errors trying to build with clang-7.0 (presumably related
to defaulting to c++17 mode)
----------------------+-----------------------
Reporter: kencu | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4-mac |
----------------------+-----------------------

Comment (by michaelld):

LOL I don't think we ever got qt4-mac working with c++11 and clang! I can
help test, but I doubt I'll have the bandwidth to do much in the way of
whack-a-mole fixing. We'll see how my December unfolds!
--
Ticket URL: <https://trac.macports.org/ticket/57751#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-09 23:47:21 UTC
Permalink
#57751: qt4-mac: lots of errors trying to build with clang-7.0 (presumably related
to defaulting to c++17 mode)
----------------------+-----------------------
Reporter: kencu | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4-mac |
----------------------+-----------------------

Comment (by kencu):

will do :>
--
Ticket URL: <https://trac.macports.org/ticket/57751#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-10 09:15:44 UTC
Permalink
#57751: qt4-mac: lots of errors trying to build with clang-7.0 (presumably related
to defaulting to c++17 mode)
----------------------+-----------------------
Reporter: kencu | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4-mac |
----------------------+-----------------------

Comment (by Veence):

{{{
WTF::HashTable 

}}}

On the other hand, if you try compile a class named WTF


Any speculative schedule for the porting of Qt 5.12 just released? It’s
the first version to officially support New 10.14 dark mode.
--
Ticket URL: <https://trac.macports.org/ticket/57751#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-09 19:22:36 UTC
Permalink
#57751: qt4-mac: lots of errors trying to build with clang-7.0 (presumably related
to defaulting to c++17 mode)
----------------------+-----------------------
Reporter: kencu | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4-mac |
----------------------+-----------------------

Comment (by kencu):

There are lots of fixes in these repos:
{{{
see:
https://github.com/kobolabs/qtscript/commit/15bb30b0e90c628cc3812627923d1d459d461505
see:
https://github.com/kobolabs/qtscript/commit/a2da34be8426b41047f895a3e8463d58baf3b576
see:
https://github.com/kobolabs/qtscript/commit/b910624473344def2ef51c982c8a9a2431b8592a
}}}

I don't think they ever got to the end of the fixes, but maybe they did.
--
Ticket URL: <https://trac.macports.org/ticket/57751#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...