|
|
Choosing A Webhost: |
Re: Carob on a Mac: msg#00002db.carob.general
Hi, Ian Holsman <lists-A7rDN4aHdhjR7s880joybQ@xxxxxxxxxxxxxxxx> 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.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Carob on a Mac, Csaba Simon |
|---|---|
| Next by Date: | Re: Carob on a Mac, Gilles Rayrat |
| Previous by Thread: | Carob on a Mac, Ian Holsman |
| Next by Thread: | Re: Carob on a Mac, Ian Holsman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|