Nagarei / DxLibEx

DXライブラリC++化プロジェクト
Boost Software License 1.0
31 stars 3 forks source link

use forward declaration instead of disabling COM(define CINTERFACE) #96

Closed yumetodo closed 7 years ago

yumetodo commented 7 years ago

Clang with Microsoft CodeGen(July 2016) produce

error : unknown type name 'IUnknown'

such error. I don't know when the bug was fixed. However, for newer version of Clang with Microsoft Codegen, use forward declaration to avoid that.

ref: #84