KDE/kdevplatform/language/duchain

Andreas Pakulat apaku at gmx.de
Wed Oct 8 16:52:05 UTC 2008


On 08.10.08 15:34:08, David Nolden wrote:
> SVN commit 869243 by zwabel:
> 
> Use static_cast instead of an unsafe reinterpret_cast.
> This makes the c++ duchaintest succeed after manuel added his tests, and might as well fix several other inconsistency problems.

Now this won't compile anymore on MSVC. It would help if you'd checked who
changed the code from static_cast to reinterpret_cast. As soon as I get
around to it, I'll rebuild and post the exact error message, but it boils
down to msvc not being able to cast the return of Base::d_func() to that
Data class, because they're not related.

Andreas

-- 
You have a deep appreciation of the arts and music.




More information about the KDevelop-devel mailing list