[test] double inline breaks codewarrior

call "c:\Programme\Metrowerks\Codewarrior\Other Metrowerks Tools\Command Line Tools\cwenv.bat" -quiet set "ERRORLEVEL=" mwcc -c -lang c++ -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\test\build" -I- "-IC:\br\boost" -o "C:\br\results\bin\boost\libs\test\build\libboost_unit_test_framework.lib\cw-9_4\debug\threading-multi\exception_safety.obj" "C:\br\boost\libs\test\build\../src/exception_safety.cpp" ### mwcc Compiler: # In: ..\boost\iterator\iterator_facade.hpp # From: ..\libs\test\src\exception_safety.cpp # ---------------------------------------------- # 837: C2, class R2, class D2 > inline inline typename detail::enable_if_interoperable< Derived1, Derived2 , # Error: ^^^^^^ # illegal use of 'inline' # (included from: # expanding macro 'BOOST_ITERATOR_FACADE_INTEROP_HEAD' # expanding macro 'BOOST_ITERATOR_FACADE_INTEROP' # expanding macro 'BOOST_ITERATOR_FACADE_RELATION' # C:\br\boost\boost\test\utils\iterator\input_iterator_facade.hpp:19 # C:\br\boost\boost\test\utils\iterator\token_iterator.hpp:25 # C:\br\boost\boost\test\impl\exception_safety.ipp:31 # C:\br\boost\libs\test\src\exception_safety.cpp:16) ### mwcc Compiler:

Thorsten Ottosen <tottosen@dezide.com> writes:
call "c:\Programme\Metrowerks\Codewarrior\Other Metrowerks Tools\Command Line Tools\cwenv.bat" -quiet set "ERRORLEVEL=" mwcc -c -lang c++ -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\test\build" -I- "-IC:\br\boost" -o "C:\br\results\bin\boost\libs\test\build\libboost_unit_test_framework.lib\cw-9_4\debug\threading-multi\exception_safety.obj" "C:\br\boost\libs\test\build\../src/exception_safety.cpp"
### mwcc Compiler: # In: ..\boost\iterator\iterator_facade.hpp # From: ..\libs\test\src\exception_safety.cpp # ---------------------------------------------- # 837: C2, class R2, class D2 > inline inline typename detail::enable_if_interoperable< Derived1, Derived2 , # Error: ^^^^^^ # illegal use of 'inline' # (included from: # expanding macro 'BOOST_ITERATOR_FACADE_INTEROP_HEAD' # expanding macro 'BOOST_ITERATOR_FACADE_INTEROP' # expanding macro 'BOOST_ITERATOR_FACADE_RELATION' # C:\br\boost\boost\test\utils\iterator\input_iterator_facade.hpp:19 # C:\br\boost\boost\test\utils\iterator\token_iterator.hpp:25 # C:\br\boost\boost\test\impl\exception_safety.ipp:31 # C:\br\boost\libs\test\src\exception_safety.cpp:16) ### mwcc Compiler:
I think I fixed this bug already. Can you confirm? -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams
-
Thorsten Ottosen