logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Log4cxx - Illegal argument exception from charsetencoder.cpp:74
Date Tue, 15 Jan 2008 15:39:43 GMT

On Jan 15, 2008, at 2:41 AM, Andreas Grob wrote:

> Curt Arnold <carnold <at> apache.org> writes:
>
>>
>>
>> On Jan 10, 2008, at 4:13 PM, Wilfong, Paul wrote:
>>
>>> Hi,
>>>
>>> I have tried to build log4cxx as an "so" library on a Sun computer
>>> (Sun OS 5.10).  Everyting seems to build Ok (as described below).
>>>

...
>
> Maybe my input may help. Since your last big commits I got following  
> errors
> under win2k/vc8:
>

I just want to be clear that you haven't attempted a Solaris build and  
don't know if the changes since since the time of the snapshot Paul  
Wilfong have fixed the build on Solaris, you just have a report of  
compilation failure on win2K/vc8 with the same classes.



>       [cc] charsetencoder.cpp
>       [cc] C:\work\log4cxx\log4cxx-trunk\src\main\cpp 
> \charsetencoder.cpp(198) :
> error C2665: 'log4cxx::helpers::Transcoder::decode' : none of the 4  
> overloads
> could convert all the argument types

...
>
> BUILD FAILED
> C:\work\log4cxx\log4cxx-trunk\build.xml:643: cl failed with return  
> code 2
>

I've been working for the last day or so with Visual Studio 2008 (aka  
VC9) on Vista and haven't encountered those issues.   Could you try  
running "ant clean" and rebuilding and if that fails rebuild from a  
fresh checkout.  The recent changes affected log4cxx.h and  
log4cxx_private.h which are "configured" from log4cxx*.h.in or  
log4cxx*.hw during the build process.  If you have updated a working  
copy from prior to those changes, you would likely have an older  
log4cxx.h file which Ant would not overwrite and could result in  
unexpected combinations.  If the problems still occur, please forward  
your log4cxx.h file.



Mime
View raw message