EDN Admin
Well-known member
Hi,
Please can anyone help.
I have been given the task of modifying some legacy VC++ V6.0 code. The code appears to be intact but I believe the complier settings are corrupt. When I attempt to compile I get over 213 errors.
How do I investigate the problem.
A typical error message is:
C..ActivityLog.cpp(56) : error C2664: _vsnprintf : cannot convert parameter 3 from const unsigned short * to const char *<br/>
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Any help would be appeciated
View the full article
Please can anyone help.
I have been given the task of modifying some legacy VC++ V6.0 code. The code appears to be intact but I believe the complier settings are corrupt. When I attempt to compile I get over 213 errors.
How do I investigate the problem.
A typical error message is:
C..ActivityLog.cpp(56) : error C2664: _vsnprintf : cannot convert parameter 3 from const unsigned short * to const char *<br/>
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Any help would be appeciated
View the full article