4 ms·
Just wondering, does this work with Windows API apps using WTL headers? This could be pretty amazing if that's the case.
by jasonjei 12y ago
Just wondering, does this work with Windows API apps using WTL headers? This could be pretty amazing if that's the case.
- captainmuon 12y agoDepends, if WTL is plain C++ and compiles with Clang, then it should. If it uses MSVC extensions (like `guidof`) then it won't work. (I've never used WTL besides a little Hello World test.)
- cokernel_hacker 12y agoActually, Clang supports most MSVC extensions. Here are links to two of Clang's test for __uuidof: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-templ-uuidof.cpp?revision=213016&view=markup http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCX... http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-uuidof.cpp?revision=199250&view=markup http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCX...