Daniel Bartlett <[EMAIL PROTECTED]> writes:
> Daniel Bartlett wrote:
>> Marc Herbert wrote:
>>> I would rather try something like:
>>>
>>> CarobCommon::logger(Logger::getLogger(log4cxx::String("MySQLAPI.Carob")));
>>
>> Well to get it to compile I make a rather excessive patch to comment out all
>> uses of the logger, I'll give your
>> suggestion a try out now.
>
> Ok so I have tried out the use of String as a method and these are the
> unfortunate results:-
> ...
> Doesn't seem like it works :(
Actually this is a very interesting error message: it proves you are
using the "wide" (wchar_t) version of log4cxx::String, which seems to
be the problem just like I was suspecting above.
> CarobCommon.cpp:36: error: no matching function for call to
> `std::basic_string<wchar_t, std::char_traits<wchar_t>,
> std::allocator<wchar_t> >::basic_string(const char[15])'
> Back to fiddling with flags..
Yes, it would be interesting to understand while your TCHAR is wide
while ours is apparently narrow.
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob