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

*** shadow/2728 Sat Jul 21 19:01:56 2001
--- shadow/2728.tmp.17844       Sat Jul 21 19:01:57 2001
***************
*** 0 ****
--- 1,78 ----
+ +============================================================================+
+ | Borland C++ Builder 5.0 Compile Error                                      |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2728                        Product: Xerces-C++              |
+ |       Status: NEW                         Version: 1.5                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Critical                 OS/Version: Windows 9x              |
+ |     Priority: Other                     Component: Build                   |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                                 |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I want to compile the Xerces-C-1.5 with BCB 5.0 compiler, but the following 
+ errors are shown. 
+ 
+ [C++ Error] Win32PlatformUtils.cpp(319): E2034 Cannot convert 'const unsigned 
+ short *' to 'const wchar_t *'
+ [C++ Error] Win32PlatformUtils.cpp(319): E2342 Type mismatch in 
+ parameter 'lpFileName' (wanted 'const wchar_t *', got 'const unsigned short *')
+ [C++ Error] Win32PlatformUtils.cpp(424): E2034 Cannot convert 'const unsigned 
+ short * const' to 'const wchar_t *'
+ [C++ Error] Win32PlatformUtils.cpp(424): E2342 Type mismatch in 
+ parameter 'lpFileName' (wanted 'const wchar_t *', got 'const unsigned short *')
+ [C++ Error] Win32PlatformUtils.cpp(424): E2034 Cannot convert 'unsigned short 
+ *' to 'wchar_t *'
+ [C++ Error] Win32PlatformUtils.cpp(424): E2342 Type mismatch in 
+ parameter 'lpBuffer' (wanted 'wchar_t *', got 'unsigned short *')
+ [C++ Error] Win32PlatformUtils.cpp(424): E2034 Cannot convert 'unsigned short * 
+ *' to 'wchar_t * *'
+ [C++ Error] Win32PlatformUtils.cpp(424): E2342 Type mismatch in 
+ parameter 'lpFilePart' (wanted 'wchar_t * *', got 'unsigned short * *')
+ [C++ Warning] Win32PlatformUtils.cpp(429): W8004 'namePart' is assigned a value 
+ that is never used
+ [C++ Warning] Win32PlatformUtils.cpp(640): W8002 Restarting compile using 
+ assembly
+ [C++ Error] Win32PlatformUtils.cpp(319): E2034 Cannot convert 'const unsigned 
+ short *' to 'const wchar_t *'
+ [C++ Error] Win32PlatformUtils.cpp(319): E2342 Type mismatch in 
+ parameter 'lpFileName' (wanted 'const wchar_t *', got 'const unsigned short *')
+ [C++ Error] Win32PlatformUtils.cpp(424): E2034 Cannot convert 'const unsigned 
+ short * const' to 'const wchar_t *'
+ [C++ Error] Win32PlatformUtils.cpp(424): E2342 Type mismatch in 
+ parameter 'lpFileName' (wanted 'const wchar_t *', got 'const unsigned short *')
+ [C++ Error] Win32PlatformUtils.cpp(424): E2034 Cannot convert 'unsigned short 
+ *' to 'wchar_t *'
+ [C++ Error] Win32PlatformUtils.cpp(424): E2342 Type mismatch in 
+ parameter 'lpBuffer' (wanted 'wchar_t *', got 'unsigned short *')
+ [C++ Error] Win32PlatformUtils.cpp(424): E2034 Cannot convert 'unsigned short * 
+ *' to 'wchar_t * *'
+ [C++ Error] Win32PlatformUtils.cpp(424): E2342 Type mismatch in 
+ parameter 'lpFilePart' (wanted 'wchar_t * *', got 'unsigned short * *')
+ [C++ Warning] Win32PlatformUtils.cpp(429): W8004 'namePart' is assigned a value 
+ that is never used
+ 
+ After Change the XMLCh define in 'BorlandCDefs.hpp' as follow:
+    typedef wchar_t  XMLCh;
+    // typedef unsigned short  XMLCh;
+ 
+ The following Error is shown:
+ 
+ typedef wchar_t  XMLCh;
+ // typedef unsigned short  XMLCh;
+ 
+ [C++ Warning] Win32PlatformUtils.cpp(640): W8002 Restarting compile using 
+ assembly
+ [Tasm Warning] XMLScanner.cpp(2104): W8004 'acceptXMLDecl' is assigned a value 
+ that is never used
+ [Tasm Warning] XMLScanner.cpp(3131): W8004 'gotAttrs' is assigned a value that 
+ is never used
+ [Tasm Error] BorlandCDefs.hpp(88): E2257 , expected
+ [Tasm Error] XMLExceptMsgs.hpp(6): E2141 Declaration syntax error
+ [Tasm Error] XMLUni.hpp(76): E2141 Declaration syntax error
+ [Tasm Error] XMLException.hpp(78): E2141 Declaration syntax error
+ [Tasm Error] XMLException.hpp(173): E2141 Declaration syntax error

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to