[Mesa-dev] [Bug 109202] nv50_ir.cpp:749:19: error: cannot use typeid with -fno-rtti

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 2 19:04:10 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109202

--- Comment #2 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to Dylan Baker from comment #1)
> You've either added -no-rtti or are using llvm built without rtti. I can
> make this a hard error.

Out of curiosity, how does the autotools build deal with this?

Also, I think that this only comes up in one assert in nouveau, so when asserts
are disabled (e.g. release builds), it wouldn't bring up a compile error.

It would also be fine to add a #ifdef rtti + #warning or something (does one
know in the source if rtti is enabled somehow?).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190102/7373afcd/attachment.html>


More information about the mesa-dev mailing list