[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster] build cpp, windows



Hello:

I am having many problems in compiling the cpp library
for Windows.  I am using Microsoft Visual Studio 6.0
and it gives me many errors.  I can compile the c
library without any problems.  These are the error
messages I am getting:


     [echo] c-lib done, continue with cpp-lib ...
     [echo] Using c:/sdk/xerces-c-2.2.0/lib and
xerces-c_2
       [cc] 94 total files to be compiled.
       [cc] QueryKeyData.cpp
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/lexical_cast.h(79)
: error C2556: 'const char *__cdecl
org::xmlBlaster::util::lexical_cast(bool)' :
overloaded function differs only by return type from
'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >
__cdecl org::xmlBlaster::util::lexical_cast(bool)'
       [cc]        
C:\SDK\xmlBlaster\build.tmp\src\c++\util/lexical_cast.h(74):
see declaration of 'lexical_cast'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/lexical_cast.h(79)
: error C2040: 'lexical_cast' : 'const char *(bool)'
differs in levels of indirection from 'class
std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >
(bool)'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/qos/ClientProperty.h(216)
: error C2059: syntax error : 'bad suffix on number'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(38)
: error C2059: syntax error : '<end Parse>'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(39)
: error C2238: unexpected token(s) preceding ';'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(69)
: error C2501: 'args_' : missing storage-class or type
specifiers
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(70)
: error C2501: 'argv_' : missing storage-class or type
specifiers
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(71)
: error C2501: 'property_' : missing storage-class or
type specifiers
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(72)
: error C2501: 'pingTimer_' : missing storage-class or
type specifiers
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(73)
: error C2258: illegal pure syntax, must be '= 0'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(73)
: error C2501: 'id_' : missing storage-class or type
specifiers
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(74)
: error C2501: 'usingXerces_' : missing storage-class
or type specifiers
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(77)
: error C2143: syntax error : missing ';' before
'public'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(77)
: error C2059: syntax error : 'public'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(151)
: error C2270: 'getProperty' : modifiers not allowed
on nonmember functions
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(153)
: error C2270: 'getLocalIP' : modifiers not allowed on
nonmember functions
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(158)
: error C2270: 'getBootstrapHostname' : modifiers not
allowed on nonmember functions
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(160)
: error C2270: 'getCbHostname' : modifiers not allowed
on nonmember functions
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(179)
: error C2270: 'getId' : modifiers not allowed on
nonmember functions
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(186)
: error C2270: 'getStrippedId' : modifiers not allowed
on nonmember functions
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(194)
: error C2270: 'getStrippedString' : modifiers not
allowed on nonmember functions
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(207)
: error C2270: 'isUsingXerces' : modifiers not allowed
on nonmember functions
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(207)
: error C2065: 'usingXerces_' : undeclared identifier
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(213)
: error C2143: syntax error : missing ';' before '}'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(213)
: error C2143: syntax error : missing ';' before '}'
       [cc]
C:\SDK\xmlBlaster\build.tmp\src\c++\util/Global.h(213)
: error C2143: syntax error : missing ';' before '}'
       [cc] C:\Program Files\Microsoft Visual
Studio\VC98\include\algorithm(20) : error C2954:
template definitions cannot nest


Any help is appreciated.

Sasha.

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html