"dm642_pci.cpp", line 183: error: argument of type "Ptr" is incompatible with parameter of type "GIO_Handle"
"dm642_pci.cpp", line 205: error: argument of type "Ptr" is incompatible with parameter of type "GIO_Handle"
"dm642_pci.cpp", line 212: error: argument of type "Ptr" is incompatible with parameter of type "GIO_Handle"
"dm642_pci.cpp", line 213: error: argument of type "Ptr" is incompatible with parameter of type "GIO_Handle"
4 errors detected in the compilation of "dm642_pci.cpp".
>> Compilation failure
Compile Complete,
4 Errors, 0 Warnings, 0 Remarks.
分析原因:
解决办法:
在Ptr指针定义的变量g_pMyGio处加上强制类型转换,即(GIO_Handle)g_pMyGio。