<div dir="ltr"><div><div><div>It seems like there is no support for the "__uuidof" operator in clang. This operator is heavily used in conjunction to COM on Windows.<br><br>Attempting to build a small Direct3D example code (attached) with "clang -v test.cpp -o test.exe" yields the following error:<br>
---<br>test.cpp:8:37: error: cannot yet mangle expression type CXXUuidofExpr<br>_COM_SMARTPTR_TYPEDEF(ID3D10Device, __uuidof(ID3D10Device));<br>                                    ^~~~~~~~~~~~~~~~~~~~~~<br>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\comdef.h:296:60:<br>
note:<br>      expanded from macro '_COM_SMARTPTR_TYPEDEF'<br>    typedef _COM_SMARTPTR<_COM_SMARTPTR_LEVEL2<Interface, &IID> > \<br>                                                           ^<br>
---<br></div>Clang was built from trunk yesterday.<br><br></div>Can anyone tell me if there are any plans to implement "__uuidof" support in the near future? If not, should I register an Bugzilla issue on the problem?<br>
<br></div>Thanks in advance,<br>Fredrik Orderud<br></div>