Microsoft KB Archive/143107

= BUG: ESQL Precomp Generates #define, Causing Warning Message =

PSS ID Number: 143107

Article Last Modified on 3/25/1999

-

The information in this article applies to:


 * Microsoft Embedded SQL for C Programmer's Toolkit 4.22

-



This article was previously published under Q143107



BUG# NT: 12870 (4.22)



SYMPTOMS
The NSQLPREP precompiler defines 'WIN32' in the *.c file that it generates, and then when the c file is compiled, gives a warning message:

warning C4005: 'WIN32' : macro redefinition.



CAUSE
The *.c file is created with a #define directive without checking to see if the identifier has already been defined.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Embedded SQL for C Programmer's Toolkit version 4.22. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: esql

Keywords: kbprogramming KB143107

Technology: kbAudDeveloper kbSQLeMCPTK422 kbSQLEmCPTKSearch kbSQLServSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.