[PATCH] extern + namespace interaction

Adriaan de Groot groot at kde.org
Sat Dec 27 10:04:37 GMT 2008


This one is a little peculiar, since it tweaks a hack in kio/kio/deletejob. 
I'm not entirely sure how this extern gets filed into the KIO namespace in 
deletejob; I did a little testing with externs and namespaces between gcc and 
SS12 and they behaved identically in resolving externs, but in this particular 
case gcc leaves the extern bool in :: and SS12 puts it in KIO::; moving the 
extern declaration fixes the compile for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deletejob.diff
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081227/981b26f4/attachment.bin>


More information about the kde-core-devel mailing list