[urgent] knotes doesn't compile under 3.3.1

Leo Savernik l.savernik at aon.at
Mon Oct 4 08:30:17 BST 2004


[d'oh, this was meant to go to kde-pim, sorry for spam]
Am Montag, 4. Oktober 2004 08:50 schrieb Leo Savernik:
> Hello,
>
> On compiling KDE 3.3.1, I hit errors like
>
> /leo/projekte/Fremde/kde-3.3/src/kdepim/knotes/knote.cpp:186: malformed
> floating constant
>
> when compiling knotes.
>
> The reason is clear:
>
> It is using constructs like
>
>     m_config = new KNoteConfig( KSharedConfig::openConfig( configFile,
> false, fa
>     m_config->readConfig();
>     m_config->setVersion( KNOTES_VERSION );
>
> all over the place, where
>
> KNOTES_VERSION is defined as
>
> #define KNOTES_VERSION 3.3.1
>
> and KNoteConfig::setVersion takes a double.
>
> So this cannot work, and I'm puzzled why gcc 3 apparently accepts this (or
> did nobody test it?)
>
> Please fix this asap.
>
> mfg
>  Leo
>
> PS.: Pls CC me, I'm not subscribed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20041004/2f62deac/attachment.sig>


More information about the kfm-devel mailing list