error C2440: '=' : cannot convert from 'void *' to 'float (*)[3]'
2008-10-09 12:18
501 查看
错误显示: error C2440: '=' : cannot convert from 'void *' to 'float (*)[3]'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
纠正:pCurrEpsd->pV = (float (*)[3])malloc( sizeof(pCurrEpsd->pV[0]) * nEntries );
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
纠正:pCurrEpsd->pV = (float (*)[3])malloc( sizeof(pCurrEpsd->pV[0]) * nEntries );
相关文章推荐
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CChatDlg::* )(WPARAM,LPARAM)' to
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall MenuToolBar::* )(LPARAM,LRESULT *)' to 'void (__thiscall CCmd
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESUL
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall MenuToolBar::* )(LPARAM,LRESULT *)' to 'void (__thiscall CCmd
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESU
- error C2440:cannotconvertfrom 'void (__thiscall CMainFrame::*)'to'LRESULT(__thiscall CWnd::*)
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESUL
- error C2440: '=' : cannot convert from 'void *' to 'mat **'怎么回事阿
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESUL
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CChatDlg::* )(WPARAM,LPARAM)' to
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CTrunkPage::* )(void)' to 'void (__thiscall CCmdTarget::* )(N
- error C2664: 'RtCreateTimer' : cannot convert parameter 3 from 'int (void *)' to 'void (__stdcall *)(void *)'问题解决办法
- error C2440: 'initializing' : cannot convert from 'unsigned long' to 'void *
- 轻松解决——error C2440: '=' : cannot convert from 'char [???]' to 'LPWSTR'
- error C2664: 'cvSetMouseCallback' : cannot convert parameter 2 from 'void (__cdecl *)(int,int,int,int)' to 'CvMouseCallback' 的解决
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CTCP服务器程序Dlg::* )(WPARAM,LPARAM)'
- error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall CchatDlg::* )(CPoint)' to 'UI
- error C2440: '=' : cannot convert from 'char [14]' to 'char [20]'
- error C2440: '=' : cannot convert from 'char ** ' to 'char *** '
- 2014-04-02工作日志:error C2440: 'initializing' : cannot convert from 'char [8]' to 'unsigned short *'