DB2 - Problem description
Problem IC67465 | Status: Closed |
LPWSTR, DWORD AND WCHAR GIVES REDECLARATION ERROR IN CLI APPLICATION IF APPLICATION IS ALREADY HAVING THEM DEFINED | |
product: | |
DB2 CONNECT / DB2CONNCT / 970 - DB2 | |
Problem description: | |
LPWSTR, DWORD, WCHAR are most commonly used names in many applications. Sqlcli.h also defines the above names. Once application includes sqlcli.h, application starts getting redeclaration error for the above names because the above 3 names are already defined in the application. So sqlcli.h should provide a way for the application to say if the names are already defined in the application so that sqlcli.h will not define them again. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * DB2 V9.7 GA, FP 1, FP 2 users of all the operating systems * **************************************************************** * PROBLEM DESCRIPTION: * * LPWSTR, DWORD, WCHAR are most commonly used names in * * manyapplications. Sqlcli.h also defines the above names. * * Onceapplication includes sqlcli.h, application starts * * gettingredeclaration error for the above names because the * * above 3names are already defined in the application. So * * sqlcli.hshould provide a way for the application to say if * * the namesare already defined in the application so that * * sqlcli.h willnot define them again. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.7 FP 3 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 V9.7 FP 3 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 25.03.2010 16.09.2010 16.09.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP3 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.3 | |
9.7.0.3 |