home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC67373 Status: Closed

LPWSTR, DWORD AND WCHAR GIVES REDECLARATION ERROR IN CLI APPLICATION
IF APPLICATION IS ALREADY HAVING THEM DEFINED

product:
DB2 CONNECT / DB2CONNCT / 910 - 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.1 FP 10                                    * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.1 Fix Pack 10  for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 11  for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 12  for Linux, UNIX and Windows

Solution
First fixed in DB2 V9.1 FP 10
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC67461 IC67465 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
22.03.2010
28.07.2010
31.08.2010
Problem solved at the following versions (IBM BugInfos)
9.1.FP10
Problem solved according to the fixlist(s) of the following version(s)
9.1.0.10 FixList