You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some platforms define 8-byte types like uint64_t as unsigned long int and causes CppAst to return CppPrimitiveType objects with the wrong byte size. A possible fix would be something like:
// Old
case CXTypeKind.CXType_ULong:
return CppPrimitiveType.UnsignedInt;
// New
case CXTypeKind.CXType_ULong:
return type.SizeOf == 8 ? CppPrimitiveType.UnsignedLongLong : CppPrimitiveType.UnsignedInt;
Some platforms define 8-byte types like
uint64_t
asunsigned long int
and causes CppAst to returnCppPrimitiveType
objects with the wrong byte size. A possible fix would be something like:CppAst.NET/src/CppAst/CppModelBuilder.cs
Lines 1747 to 1770 in d0d3a1f
The text was updated successfully, but these errors were encountered: