hi there,
'just ran into a problem compiling following code using msvc6, it worked fine with gcc, any idea why??
//original code: gcc ok, msvc failed
camTrackIco = new (DCamTrackIco*)[m_iCamCount];
it works fine using ...
//ok with msvc
camTrackIco = new DCamTrackIco*[m_iCamCount];
... or doing a typedef for DCamTrackIco* ...
i'm just curious why the original code doesn't work with ms-vc6, it's not really a problem.
thanx, martin
'just ran into a problem compiling following code using msvc6, it worked fine with gcc, any idea why??
//original code: gcc ok, msvc failed
camTrackIco = new (DCamTrackIco*)[m_iCamCount];
it works fine using ...
//ok with msvc
camTrackIco = new DCamTrackIco*[m_iCamCount];
... or doing a typedef for DCamTrackIco* ...
i'm just curious why the original code doesn't work with ms-vc6, it's not really a problem.
thanx, martin