[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: Re: Review Request 114897: Make KDE_ENABLE_EXCEPTIONS a list
From: Alex Merry <kde () randomguy3 ! me ! uk>
Date: 2014-01-07 18:30:13
Message-ID: 52CC47B5.9030600 () randomguy3 ! me ! uk
[Download RAW message or body]
On 07/01/14 18:00, Stephen Kelly wrote:
> Alex Merry wrote:
>
>> Hrm. After some investigation: I'm not entirely sure. The simplest
>> answer is "that's what qmake does"
>
> Please tell me you noticed that I asked about -U, not -D ...
Yes. qmake actually doesn't use -U directly; it simply sets
-DQT_NO_EXCEPTIONS if you do CONFIG+=exceptions_off, and does not set it
otherwise. -U is something of a hack to override -DQT_NO_EXCEPTIONS
that we set by default.
I'm not certain what the "right" thing to do here is. Arguably, we
should always set -DQT_NO_EXCEPTIONS (at least for frameworks) so that
we can be sure they build when Qt has exceptions disabled.
Either way, I'm really not convinced qmake does the right thing, as I
think QT_NO_EXCEPTIONS should really be defined if and only if the Qt
library itself was compiled with exceptions disabled.
Alex
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic