[cfe-dev] [Windows] __uuidof support?

João Matos ripzonetriton at gmail.com
Wed Dec 4 13:46:06 PST 2013

Hi Fredrik,

You can try passing "-fno-rtti" to the driver which might help with lack of

On Wed, Dec 4, 2013 at 9:34 PM, Fredrik Orderud <forderud at gmail.com> wrote:

> On Wed, Dec 4, 2013 at 6:36 PM, Reid Kleckner <rnk at google.com> wrote:
>> What C/C++ runtime are you trying to use, a mingw variant or one of
>> Microsoft's?
>> We support __uuidof in the Microsoft C++ ABI, but not the Itanium C++
>> ABI.  The easiest way to use the Microsoft C++ ABI support is with the
>> clang-cl frontend:
>> http://clang.llvm.org/docs/UsersManual.html#clang-cl
>> However, the Microsoft C++ ABI support is still really immature, so you
>> might want to stick with mingw.  In the Microsoft C++ ABI, Clang lacks
>> support for:
>> - pass by value of certain kinds of objects
>> - RTTI
>> - exceptions
>> - debug info
>> - member pointer support is a bit weak
>  Thanks for the information Reid!
> I am entirely new to Clang and was unknowingly targeting the Itanium ABI.
> By switching to the the Microsoft ABI with clang-cl the problem went away.
> :-)
> Unfortunately, I instead encountered many RTTI-related compiler issues as
> you mentioned. This is a bit disappointing, since it seem like neither ABI
> will work for me at the time being.
> My primary motivation for testing Clang was to evaluate the static
> analyzer. Run-time issues like exceptions, missing debug info etc. is
> therefore not a concern for me. What matters is to be able to parse/compile
> the code.
> Fredrik
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131204/ed35ddda/attachment.html>

More information about the cfe-dev mailing list