You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/06/21 12:00:18 UTC

[Bug 2263] New: - 'SIZE' : redefinition ( BooleanDatatypeValidator.cpp )

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2263

*** shadow/2263	Thu Jun 21 03:00:17 2001
--- shadow/2263.tmp.9039	Thu Jun 21 03:00:17 2001
***************
*** 0 ****
--- 1,32 ----
+ +============================================================================+
+ | 'SIZE' : redefinition ( BooleanDatatypeValidator.cpp )                     |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2263                        Product: Xerces-C                |
+ |       Status: NEW                         Version: Nightly build           |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Build                   |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-c-dev@xml.apache.org                                  |
+ |  Reported By: PeterV@ti.com.od.ua                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Source: validators\datatype\BooleanDatatypeValidator.cpp
+ 
+ The definition of SIZE 
+     const int   SIZE = 4;
+ 
+ conflicts with typedef SIZE defined in VC\include\WINDEF.H   (MSVC5)
+ 
+ typedef struct tagSIZE
+ {
+     LONG        cx;
+     LONG        cy;
+ } SIZE, *PSIZE, *LPSIZE;
+ 
+ Error on build:
+ src\xerces\src\validators\datatype\BooleanDatatypeValidator.cpp(84) : error 
+ C2377: 'SIZE' : redefinition; typedef cannot be overloaded with any other symbol
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org