[TR1] Help wanted with MWCW-9.4

I'm trying to figure out what configuration magic is needed to get the Boost.TR1 library working with CW-9.4. It's apparent that CW has some TR1 components already: reference_wrappers tuple shared_ptr It also appears to have function, and yet the trivial test program libs/config/test/has_tr1_function.ipp doesn't appear to compile. What about mem_fn and bind? If native versions of these aren't available then we're going to have a conflict over reference_wrapper and the ref/cref functions. There's also a strange failure for the type_traits tests which all fail with: call "c:\Programme\Metrowerks\Codewarrior\Other Metrowerks Tools\Command Line Tools\cwenv.bat" -quiet set "ERRORLEVEL=" mwcc -c -lang c++ -DTEST_STD=1 -maxerrors 5 -warnings on -maxwarnings 20 -nowraplines -g -O0 -inline off -cwd include -wchar_t on -warnings nounusedexpr,nounused -runtime dmd -RTTI on -iso_templates on "-IC:\br\results\bin\boost\libs\tr1\test" "-IC:\br\boost\boost\tr1\tr1" "-IC:\br\boost\boost\tr1\tr1\bcc32" "-IC:\br\boost\libs\type_traits\test" "-IC:\br\boost" -I- "-IC:\br\boost" -o "C:\br\results\bin\boost\libs\tr1\test\tr1_has_virtual_destructor_test.test\cw-9_4\debug\threading-multi\tr1_has_virtual_destructor_test.obj" "C:\br\boost\libs\tr1\test\type_traits\tr1_has_virtual_destructor_test.cpp" ### mwcc Compiler: # In: ..\libs\type_traits\test\has_virtual_destructor_test.cpp # From: ..\libs\tr1\test\type_traits\tr1_has_virtual_destructor_test.cpp # ------------------------------------------------------------------------- # 10: # include <type_traits> # Error: ^^^^^^^^^^^^^ # the file 'type_traits' cannot be opened even though the file type_traits is clearly in the compilers search path (other headers like <regex> and <random> appear to open OK however). Any ideas anyone? John.

"John Maddock" <john@johnmaddock.co.uk> wrote in message news:000501c5fb50$d1515150$d2071452@fuji...
I'm trying to figure out what configuration magic is needed to get the Boost.TR1 library working with CW-9.4.
John, Howard Hinnant used to be the Metrowerks library guy, but he is now working for Apple. You might contact him privately and ask if he has any idea who to direct Metrowerks questions to nowadays. But I have a feeling it is a loosing battle. As you probably know, Metrowerks/Freescale no longer sells CW for Windows, and they are also abandoning the Apple market. There will be no version of CodeWarrior for the new Intel based Apple machines. --Beman

Howard Hinnant used to be the Metrowerks library guy, but he is now working for Apple. You might contact him privately and ask if he has any idea who to direct Metrowerks questions to nowadays.
But I have a feeling it is a loosing battle. As you probably know, Metrowerks/Freescale no longer sells CW for Windows, and they are also abandoning the Apple market. There will be no version of CodeWarrior for the new Intel based Apple machines.
That's what I feared. I asked because it's currently a release requirement to support that compiler, but if it's an evolutionary dead end, then maybe I'll just ignore those failures and see if anyone complains. John.

On Dec 7, 2005, at 10:48 PM, Beman Dawes wrote:
"John Maddock" <john@johnmaddock.co.uk> wrote in message news:000501c5fb50$d1515150$d2071452@fuji...
I'm trying to figure out what configuration magic is needed to get the Boost.TR1 library working with CW-9.4.
John,
Howard Hinnant used to be the Metrowerks library guy, but he is now working for Apple. You might contact him privately and ask if he has any idea who to direct Metrowerks questions to nowadays.
Sorry. I saw the note, glanced at it to see if it was a 5 minute easy diagnose, couldn't do it that fast and moved on. Apple is keeping me very busy and they're coming first now...
I'll just ignore those failures and see if anyone complains.
<nod> -Howard

On 12/7/05 10:48 PM, "Beman Dawes" <bdawes@acm.org> wrote:
"John Maddock" <john@johnmaddock.co.uk> wrote in message news:000501c5fb50$d1515150$d2071452@fuji...
I'm trying to figure out what configuration magic is needed to get the Boost.TR1 library working with CW-9.4.
Howard Hinnant used to be the Metrowerks library guy, but he is now working for Apple. You might contact him privately and ask if he has any idea who to direct Metrowerks questions to nowadays.
But I have a feeling it is a loosing battle. As you probably know, Metrowerks/Freescale no longer sells CW for Windows, and they are also abandoning the Apple market. There will be no version of CodeWarrior for the new Intel based Apple machines.
There is a last hurrah, a CodeWarrior Pro 10 for Mac OS X. We should add its profile to our configuration files. Does anyone have it yet? I don't know how different it is from CWP9. Nor do I know how much of a difference is there between the free and full versions. Anyway, I think Metrowerks is still providing compilers for embedded markets. -- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com

On Dec 11, 2005, at 2:53 AM, Daryle Walker wrote:
I don't know how different it is from CWP9. Nor do I know how much of a difference is there between the free and full versions.
Fwiw, it has a full implementation of the rvalue reference. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n1377.htm http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1855.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1856.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1857.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1858.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1859.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1860.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1861.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1862.html Except that std::unique_ptr is named Metrowerks::move_ptr. The rvalue reference functionality is off by default but you can turn it on with: #pragma rvalue_refs on in your preprocessor prefix text.
Anyway, I think Metrowerks is still providing compilers for embedded markets.
Yup. -Howard
participants (4)
-
Beman Dawes
-
Daryle Walker
-
Howard Hinnant
-
John Maddock