
Hi, Regression tests show that codewarrior 8.0 have some problems with string algo lib. Report is here: http://tinyurl.com/35asy It seems, that compiler cannot find std::locale class. Can somebody with an access to this compiler help here. Thanks in advance. Regards, Pavol

Pavol Droba <droba@topmail.sk> writes:
Hi,
Regression tests show that codewarrior 8.0 have some problems with string algo lib.
Report is here: http://tinyurl.com/35asy
It seems, that compiler cannot find std::locale class. Can somebody with an access to this compiler help here.
Thanks in advance.
CW doesn't have locale unless you link to its static runtime. You can add <cwpro8><*><runtime-link>static <cwpro9><*><runtime-link>static to your library's requirements. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

David Abrahams wrote:
Pavol Droba <droba@topmail.sk> writes:
Hi,
Regression tests show that codewarrior 8.0 have some problems with string algo lib.
Report is here: http://tinyurl.com/35asy
It seems, that compiler cannot find std::locale class. Can somebody with an access to this compiler help here.
Thanks in advance.
CW doesn't have locale unless you link to its static runtime. You can add <cwpro8><*><runtime-link>static <cwpro9><*><runtime-link>static to your library's requirements.
Wasn't there "std::locale-support" and "std::facet-support", that you could put in requirements? At least adding them for program_options fixed the metrowerks problems. Or you no longer thing those modifiers to be superious to explicit <runtime-link>? - Volodya

"Vladimir Prus" <ghost@cs.msu.su> wrote in message news:200407010944.22576.ghost@cs.msu.su...
David Abrahams wrote:
CW doesn't have locale unless you link to its static runtime. You can add <cwpro8><*><runtime-link>static <cwpro9><*><runtime-link>static to your library's requirements.
Wasn't there "std::locale-support" and "std::facet-support", that you could put in requirements? At least adding them for program_options fixed the metrowerks problems. Or you no longer thing those modifiers to be superious to explicit <runtime-link>?
I've been using the std::locale-support rule for my iostreams library, and it seems to work fine. I'd be interested to know if there's some readon I should be using <cwpro8><*><runtime-link>static instead ... . I'd rather not have to remember which platforms only support locales with the static runtime.The docs say "For example some toolsets, like CodeWarrior, ... ". Are there any other toolsets to which this applies? Jonathan

Vladimir Prus <ghost@cs.msu.su> writes:
David Abrahams wrote:
Pavol Droba <droba@topmail.sk> writes:
Hi,
Regression tests show that codewarrior 8.0 have some problems with string algo lib.
Report is here: http://tinyurl.com/35asy
It seems, that compiler cannot find std::locale class. Can somebody with an access to this compiler help here.
Thanks in advance.
CW doesn't have locale unless you link to its static runtime. You can add <cwpro8><*><runtime-link>static <cwpro9><*><runtime-link>static to your library's requirements.
Wasn't there "std::locale-support" and "std::facet-support", that you could put in requirements? At least adding them for program_options fixed the metrowerks problems. Or you no longer thing those modifiers to be superious to explicit <runtime-link>?
No, I just forgot I added them! -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

Hi, I have another two problems with cwpro8. http://tinyurl.com/2rlhc http://tinyurl.com/3yv84 First one is related to some template instantiation. Error messages do make sense for me. Second one is somehow related to Boost.Preprocessor, that I'm using for simplier testcase definition. I don't know how to handle neighter of these errors. Any help is welcomed. Regards, Pavol

On Wed, 30 Jun 2004 18:05:14 +0200, Pavol Droba <droba@topmail.sk> wrote:
Hi,
Regression tests show that codewarrior 8.0 have some problems with string algo lib.
Report is here: http://tinyurl.com/35asy
It seems, that compiler cannot find std::locale class. Can somebody with an access to this compiler help here.
I had similar problems :) As to locales, look at the end of this post http://lists.boost.org/MailArchives/boost/msg65047.php Note that CW 9.2 *does* have locales even in a DLL configuration. As to the errors in the template instantiations maybe you can give a try to this: #if BOOST_WORKAROUND(__MWERKS__, <= 0x3003) // 8.x #pragma parse_func_templ off #endif It was suggested by Howard and worked for me. -- Genny.

On Jun 30, 2004, at 12:05 PM, Pavol Droba wrote:
Hi,
Regression tests show that codewarrior 8.0 have some problems with string algo lib.
Report is here: http://tinyurl.com/35asy
It seems, that compiler cannot find std::locale class. Can somebody with an access to this compiler help here.
If <locale> is not included, std::locale will not be found. If you are linking to the std::lib as a shared lib, std::locale is disabled. You can detect that std::locale is disabled with: #ifdef _MSL_NO_LOCALE -Howard
participants (6)
-
David Abrahams
-
Gennaro Prota
-
Howard Hinnant
-
Jonathan Turkanis
-
Pavol Droba
-
Vladimir Prus