-----Original Message-----
From: Curt Arnold [mailto:[EMAIL PROTECTED] 

>>Did the recent changes I committed to Subversion change the message?

>>If it did, then the problem is that apr-util fails on a call to
apr_xlate_open with topage being "UTF-8" and frompage being the new
exception text.  If >>it did not, then the problem is that
apr_xlate_open is failing for "UTF-8" to "UTF-8" conversion in
charsetencoder.

>>All the apr_xlate tests pass, but without knowing the details of the  
>>failed call in log4cxx, don't know if there is a test that check it.

>>Once you confirm the arguments to apr_xlate_open call that are
failing, could you check the apr-dev mailing list and bugzilla to see if
there are any 
>>reported issues that might fit the problem.

I was not able to compile charsetdecoder.cpp and charsetencoder.cpp
unless I remove the changes. The following is the error I got when
compiling the latest from Subversion:

  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\"
-DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1
-DHAVE_SWPRINTF=1 -DHAVE_SYSLOG=1 -DHAVE_PTHREAD=1 -DHAVE_THREAD=1
-DHAVE_GETHOSTBYNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_GETTIMEOFDAY=1
-DHAVE_FTIME=1 -I. -I. -I../include -I../include -DLOG4CXX -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE
-I/usr/local/apr/include/apr-1 -I/usr/local/apr/include/apr-1
-I/usr/local/include -D_REENTRANT -g -O2 -MT charsetdecoder.lo -MD -MP
-MF .deps/charsetdecoder.Tpo -c charsetdecoder.cpp  -fPIC -DPIC -o
.libs/charsetdecoder.o
charsetdecoder.cpp: In constructor
'log4cxx::helpers::APRCharsetDecoder::APRCharsetDecoder(const char*)':
charsetdecoder.cpp:56: error: 'pool' was not declared in this scope
charsetdecoder.cpp:60: error: 'convset' was not declared in this scope
charsetdecoder.cpp:78: error: a function-definition is not allowed here
before '{' token
charsetdecoder.cpp:84: error: a function-definition is not allowed here
before '{' token
charsetdecoder.cpp:118: error: expected primary-expression before
'private'
charsetdecoder.cpp:118: error: expected `;' before 'private'
charsetdecoder.cpp:120: error: 'log4cxx::helpers::APRCharsetDecoder&
log4cxx::helpers::operator=(const log4cxx::helpers::APRCharsetDecoder&)'
must be a nonstatic member function
charsetdecoder.cpp:121: error: redeclaration of 'apr_pool_t* pool'
charsetdecoder.cpp:56: error: '<typeprefixerror>pool' previously
declared here
charsetdecoder.cpp:123: error: redeclaration of 'apr_xlate_t* convset'
charsetdecoder.cpp:60: error: '<typeprefixerror>convset' previously
declared here
charsetdecoder.cpp: At global scope:
charsetdecoder.cpp:423: error: expected unqualified-id before '}' token
charsetdecoder.cpp: In static member function 'static
log4cxx::helpers::CharsetDecoder*
log4cxx::helpers::CharsetDecoder::createDefaultDecoder()':
charsetdecoder.cpp:443: error: cannot allocate an object of abstract
type 'log4cxx::helpers::APRCharsetDecoder'
charsetdecoder.cpp:43: note:   because the following virtual functions
are pure within 'log4cxx::helpers::APRCharsetDecoder':
../include/log4cxx/helpers/charsetdecoder.h:80: note:   virtual
log4cxx_status_t
log4cxx::helpers::CharsetDecoder::decode(log4cxx::helpers::ByteBuffer&,
log4cxx::LogString&)
charsetdecoder.cpp: In static member function 'static
log4cxx::helpers::CharsetDecoderPtr
log4cxx::helpers::CharsetDecoder::getUTF8Decoder()':
charsetdecoder.cpp:463: error: expected type-specifier before
'UTF8CharsetDecoder'
charsetdecoder.cpp:463: error: expected `)' before 'UTF8CharsetDecoder'
charsetdecoder.cpp:470: error: expected type-specifier before
'UTF8CharsetDecoder'
charsetdecoder.cpp:470: error: expected ';' before 'UTF8CharsetDecoder'
charsetdecoder.cpp:470: error: 'UTF8CharsetDecoder' was not declared in
this scope
charsetdecoder.cpp: In static member function 'static
log4cxx::helpers::CharsetDecoderPtr
log4cxx::helpers::CharsetDecoder::getISOLatinDecoder()':
charsetdecoder.cpp:476: error: expected type-specifier before
'ISOLatinCharsetDecoder'
charsetdecoder.cpp:476: error: expected ';' before
'ISOLatinCharsetDecoder'
charsetdecoder.cpp:476: error: 'ISOLatinCharsetDecoder' was not declared
in this scope
charsetdecoder.cpp: At global scope:
charsetdecoder.cpp:477: error: expected `}' at end of input
../include/log4cxx/helpers/objectptr.h: In member function 'void
log4cxx::helpers::ObjectPtrT<T>::cast(const InterfacePtr&) [with
InterfacePtr = int*, T = log4cxx::helpers::CharsetDecoder]':
../include/log4cxx/helpers/objectptr.h:41:   instantiated from
'log4cxx::helpers::ObjectPtrT<T>::ObjectPtrT(const InterfacePtr&) [with
InterfacePtr = int*, T = log4cxx::helpers::CharsetDecoder]'
charsetdecoder.cpp:463:   instantiated from here
../include/log4cxx/helpers/objectptr.h:136: error: request for member
'cast' in '*(int*)p1', which is of non-class type 'int'
make[1]: *** [charsetdecoder.lo] Error 1
make[1]: Leaving directory `/usr/dklemer/downloads/log4cxx/src'
make: *** [all-recursive] Error 1

Thanks,
Allen

Reply via email to