I'm trying to compile version 1 of the MyApp example in the
Configuration section in Introduction.html.

I'm running VS .NET 2000, compiling natively, non Unicode. lib version
0.9.6.

When compiling for the first time, this is what the compiler outputs:
Compiling...
mapp.cpp

o:\lib\log4cxx-0.9.6\include\log4cxx\helpers\tchar.h(273) : warning
C4244: 'argument' : conversion from '__w64 int' to 'std::streamoff',
possible loss of data
o:\lib\log4cxx-0.9.6\include\log4cxx\helpers\tchar.h(274) : warning
C4244: 'argument' : conversion from '__w64 int' to 'int', possible loss
of data
o:\lib\log4cxx-0.9.6\include\log4cxx\helpers\tchar.h(279) : warning
C4244: 'argument' : conversion from '__w64 int' to 'std::streamoff',
possible loss of data
c:\jd\log4cxx\simple\bar.h(9) : error C2146: syntax error : missing ';'
before identifier 'logger'
c:\jd\log4cxx\simple\bar.h(9) : error C2653: 'Logger' : is not a class
or namespace name
c:\jd\log4cxx\simple\bar.h(9) : error C2065: 'getLogger' : undeclared
identifier
c:\jd\log4cxx\simple\bar.h(9) : error C2864: 'logger' : only const
static integral data members can be initialized inside a class or struct
c:\jd\log4cxx\simple\bar.h(9) : error C2501: 'com::foo::Bar::logger' :
missing storage-class or type specifiers
c:\jd\log4cxx\simple\mapp.cpp(28) : error C2061: syntax error :
identifier 'Exception'
c:\jd\log4cxx\simple\mapp.cpp(28) : error C2310: catch handlers must
specify one type
c:\jd\log4cxx\simple\mapp.cpp(33) : error C2317: 'try' block starting on
line '19' has no catch handlers

Can anyone shed light on this?

Thanks

JD

Reply via email to