On Thursday 09 July 2009 01:34:26 am hajma wrote: > I've just read > http://developers.sun.com/sunstudio/documentation/ss11/mr/READMEs/c++.html# >cNameMangling which suggests removing the const, so perhaps rather the .cpp > file should've been changed?
usually, changing the .cpp is better becausethe .h might be a public interface. However, it may make sense to add a const to the .h when it's not (yet) a public interface and the const adds clarity to the intention of the interface. > nevertheless, what about starting using the undocumented > -Qoption ccfe -abiopt=mangle6 > which should avoid this kind of bugs? No, absolutely not: it just masks the bugs instead of showing us where KDE code is inconsistent. [ade] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: This is a digitally signed message part. URL: <http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20090709/5e95e366/attachment.bin>
