[cfe-dev] C++ modules bridging rtti/no-rtti

Richard Smith richard at metafoo.co.uk
Tue Oct 21 17:18:40 PDT 2014


On Tue, Oct 21, 2014 at 6:13 AM, Vassil Vassilev <
vasil.georgiev.vasilev at cern.ch> wrote:

> Hi,
>   When building a module that requires rtti from -fno-rtti context I get
> errors. It seems that the module, which needs rtti support is build with no
> rtti enabled. Is there something like [extern_c] attribute for rtti, or I
> am doing something conceptually wrong.


We have no support for mixing ASTs built with different "non-benign"
language settings (those that change the validity or meaning of code). The
modules will be (and must be) built with the same language flags as the
user of the module.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141021/41a8fcc3/attachment.html>


More information about the cfe-dev mailing list