[Konsole-devel] KDE/kdebase/apps/konsole/src

Pino Toscano pino at kde.org
Mon Jul 13 21:31:44 UTC 2009


Hi,

> What's the purpose of this?  Does it not compile on your system?

Yes, with stricter compile flags (like -pedantic) it did not compile.
This was due to the "bool readProcInfo(int pid)", implemented only on 
Q_OS_MAC, leaving an empty implementation elsewhere and thus breaking because 
of a non-void function returning void. Yes, the easy solution would have been 
making it return false if !Q_OS_MAC, but given that the class is used only 
there, then it makes sense (at least IMHO) to just compile it only on that OS.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20090713/d305054f/attachment.sig>


More information about the konsole-devel mailing list