https://bugs.kde.org/show_bug.cgi?id=374568

--- Comment #21 from RJVB <rjvber...@gmail.com> ---
I have nothing against your initial explicit cast to a QObject*, what about you
Yichao?

I do think this has to be reported to GCC though. I think the vptr warning is
more a bad-semantics-practice warning than one about something that could cause
a crash like you're seeing.

Although: I don't know about C-style casting to a different class, but casting
to a *non packed* struct might let you run into issues caused by different
alignment. 
And *that* could explain the jump into the unknown.

Anyway, bug or feature, in the end this is probably something that only people
intimately familiar with GCC's internals might be able to explain.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to