|
|
Sponsor |
Re: CVS HEAD Linux build: msg#00017apache.logging.log4cxx.user
On Mar 4, 2005, at 11:36 AM, Jwahar Bammi wrote: Thanks Curt, No I haven't seen this before. I have no clue why the compiler believes it needs to invoke the Locale copy constructor on these calls. The offending lines are: bundles[0] = ResourceBundle::getBundle(LOG4CXX_STR("L7D"), Locale(LOG4CXX_STR("en"), LOG4CXX_STR("US"))); The definition of ResourceBundle::getBundle is static ResourceBundlePtr getBundle(const LogString& baseName, const Locale& locale); So there should be no need to attempt to copy the Locale after it is created. Could you try rewriting the offending lines like: Locale localeUS(LOG4CXX_STR("en"), LOG4CXX_STR("US")); bundles[0] = ResourceBundle::getBundle(LOG4CXX_STR("L7D"), localeUS); and see if gcc still complains?
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: CVS HEAD Linux build, Jwahar Bammi |
|---|---|
| Next by Date: | Re: CVS HEAD Linux build, Jwahar Bammi |
| Previous by Thread: | Re: CVS HEAD Linux build, Jwahar Bammi |
| Next by Thread: | Re: CVS HEAD Linux build, Jwahar Bammi |
| 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 | sitemap
| advertise | OSDir is
an inevitable website.
|