KDE_IS_VERSION and downwards compatibility (Re: [Kopete-devel] Miscellaneous warnings and errors during CVS compile)
Harri Porten
porten at kde.org
Mon Jan 20 19:03:16 GMT 2003
On Mon, 20 Jan 2003, Martijn Klingens wrote:
> But that looks like a horrible hack :(
I haven't followed the previous discussion but won't this be a non-issue
in the future ?
> Why not follow the scheme the Trolls use, i.e. use binary coded decimals?
>
> #if KDE_VERSION < 0x030190
>
> is completely downwards-compatible and saves us from the KDE_IS_VERSION
> kludge.
If time had permitted Qt had such a macro, too :) And it still might come.
Using the hex number was just a first step. It's still ugly to expose it.
Harri.
More information about the kde-core-devel
mailing list