BUG: ESQL Precomp Generates #define, Causing Warning Message

ID: Q143107


The information in this article applies to:

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          : kbprg SSrvESQL_C SSrvProg 
Version           : WINDOWS:4.22
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 24, 1999