Hi,
Ian Holsman <[EMAIL PROTECTED]> writes:
> I am trying to get carob running on my mac,
Thanks a lot for your time and expertise, much appreciated.
> and have had the following issues:
>
> - gnu's c++ locale only works when you use glibc, (which OS/X doesn't,
> but default it uses UTF8)
The latter point is good news, cause we try to avoid reinventing the
wheel and having our own UTF8 code. So I'd like to commit a simple
#ifdef __APPLE__ && __MACH__ -based solution for this issue,
but I need to know this: when you say "default", do you mean:
std::locale loc("C"); (= locale::classic())
or:
std::locale loc("");
I would choose the latter, but your patch uses the former, which
should be OK _only_ with pure-ASCII data according to the books. But
maybe that's where MacOSX differs? Does it have some LANG/LC_ env
system too? Any reference appreciated.
> - MSG_NOSIGNAL doesn't exist on OS/X. so I am replacing the signal
> handler instead.
It looks like this flag is not portable indeed, so we are currently
looking for alternative solutions. If anyone has a clue...
> here is the diff so far...
> it doesn't pass all the tests, but the 'read_example' runs.
Could you please report about the tests that fail? (besides the one
below) Thanks a lot in advance.
> the output of carobTestLauncher is
> 1) test: encode_decode (E)
> uncaught exception of unknown type
>
> (and I disabled the locale test, as it won't work without glibc's locale)
Agreed.
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob