DB2 - Problem description
Problem IC67461 | Status: Closed |
LPWSTR, DWORD AND WCHAR GIVES REDECLARATION ERROR IN CLI APPLICATION IF APPLICATION IS ALREADY HAVING THEM DEFINED | |
product: | |
DB2 CONNECT / DB2CONNCT / 950 - 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: * * All platforms * **************************************************************** * PROBLEM DESCRIPTION: * * LPWSTR, DWORD, WCHAR are most commonly used names * * inmanyapplications. Sqlcli.h also defines the above * * names.Onceapplication includes sqlcli.h, application * * startsgettingredeclaration error for the above names because * * theabove 3names are already defined in the application. * * Sosqlcli.hshouldprovide a way for the application to say * * ifthe names arealready defined in the application so * * thatsqlcli.h will notdefine them again. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.5 FP 6 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 V9.5 FP 6 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 25.03.2010 26.04.2010 31.08.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP6 | |
Problem solved according to the fixlist(s) of the following version(s) |