[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 20:08:19 UTC 2019


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

--- Comment #3 from Dylan Baker <baker.dylan.c at gmail.com> ---
I don't think that the compiler gives you any way to know, we'd have to pass
some a #define ourselves.

autotools just adds it to LLVM targets (radeonsi, llvmpipe, etc). That feels
really dangerous to me though, as building with/without rtti changes the ABI
and my understanding is that there's no requirement for code with rtti to
correctly link with code not using rtti.

-- 
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/be6396e9/attachment.html>


More information about the mesa-dev mailing list