concept_check: abnormal termination on CW 8.3?

This concept_check test case http://tinyurl.com/5q3zk on CW 8.3 looks like an abnormal termination. Please could somebody with access to this compiler verify that? Stefan

Stefan Slapeta wrote:
This concept_check test case http://tinyurl.com/5q3zk on CW 8.3 looks like an abnormal termination. Please could somebody with access to this compiler verify that?
It's not an abnormal termination, that is it's not a crash. The full output of the four tests is: ======================================================================= ...found 255 targets... ...updating 32 targets... MkDir1 C:\Boost\test\bin\boost\libs\concept_check MkDir1 C:\Boost\test\bin\boost\libs\concept_check\stl_concept_covering.test MkDir1 C:\Boost\test\bin\boost\libs\concept_check\stl_concept_covering.test\cw MkDir1 C:\Boost\test\bin\boost\libs\concept_check\stl_concept_covering.test\cw\release cw-C++-action C:\Boost\test\bin\boost\libs\concept_check\stl_concept_covering.test\cw\release\stl_concept_covering.obj ### mwcc Compiler: # File: stl_concept_covering.cpp # --------------------------------- # 387: out = std::fill_n(out, n, value); # Error: ^ # illegal use of type 'void' ### mwcc Compiler: # 603: forward_iterator_archetype<FT> fi; # Error: ^^ # declaration syntax error ### mwcc Compiler: # 604: T value(dummy_cons); # Error: ^ # undefined identifier 'T' ### mwcc Compiler: # 605: fi = std::lower_bound(fi, fi, value); # Error: ^^ # undefined identifier 'fi' ### mwcc Compiler: # 626: forward_iterator_archetype<FT> fi; # Error: ^^ # declaration syntax error # Too many errors printed, aborting program User break, cancelled... call "C:\Program Files\Metrowerks\CodeWarrior\Other Metrowerks Tools\Command Line Tools\cwenv.bat" -quiet mwcc -c -lang c++ -DNDEBUG -DNDEBUG -maxerrors 5 -warn on -maxwarnings 20 -nowraplines -opt full -inline auto -inline level=8 -cwd include -warn nounusedexpr,nounused -runtime dm -DNOMINMAX -RTTI on -iso_templates on -I- "-IC:\CVSROOTs\Boost\boost" -prefix "UseDLLPrefix.h" -o "C:\Boost\test\bin\boost\libs\concept_check\stl_concept_covering.test\cw\release\stl_concept_covering.obj" "..\..\libs\concept_check\stl_concept_covering.cpp" ...failed cw-C++-action C:\Boost\test\bin\boost\libs\concept_check\stl_concept_covering.test\cw\release\stl_concept_covering.obj... MkDir1 C:\Boost\test\bin\boost\libs\concept_check\concept_check_test.test MkDir1 C:\Boost\test\bin\boost\libs\concept_check\concept_check_test.test\cw MkDir1 C:\Boost\test\bin\boost\libs\concept_check\concept_check_test.test\cw\release cw-C++-action C:\Boost\test\bin\boost\libs\concept_check\concept_check_test.test\cw\release\concept_check_test.obj **passed** C:\Boost\test\bin\boost\libs\concept_check\concept_check_test.test\cw\release\concept_check_test.test MkDir1 C:\Boost\test\bin\boost\libs\concept_check\class_concept_check_test.test MkDir1 C:\Boost\test\bin\boost\libs\concept_check\class_concept_check_test.test\cw MkDir1 C:\Boost\test\bin\boost\libs\concept_check\class_concept_check_test.test\cw\release cw-C++-action C:\Boost\test\bin\boost\libs\concept_check\class_concept_check_test.test\cw\release\class_concept_check_test.obj **passed** C:\Boost\test\bin\boost\libs\concept_check\class_concept_check_test.test\cw\release\class_concept_check_test.test MkDir1 C:\Boost\test\bin\boost\libs\concept_check\concept_check_fail_expected.test MkDir1 C:\Boost\test\bin\boost\libs\concept_check\concept_check_fail_expected.test\cw MkDir1 C:\Boost\test\bin\boost\libs\concept_check\concept_check_fail_expected.test\cw\release cw-C++-action C:\Boost\test\bin\boost\libs\concept_check\concept_check_fail_expected.test\cw\release\concept_check_fail_expected.obj cw-Link-action C:\Boost\test\bin\boost\libs\concept_check\concept_check_fail_expected.test\cw\release\concept_check_fail_expected.exe ### mwld Linker Note: # Adding default library "MSL_All-DLL_x86.lib" to link order ### mwld Linker Note: # Adding default library "gdi32.lib" to link order ### mwld Linker Note: # Adding default library "kernel32.lib" to link order ### mwld Linker Note: # Adding default library "user32.lib" to link order ### mwld Linker Note: # Adding default library "MSL_All_x86.lib" to link order ### mwld Linker Note: # Including default library "MSL_All-DLL_x86.lib" ### mwld Linker Note: # Including default library "kernel32.lib" ### mwld Linker Warning: # No symbols were exported, deleting import library 'concept_check_fail_expected.lib' call "C:\Program Files\Metrowerks\CodeWarrior\Other Metrowerks Tools\Command Line Tools\cwenv.bat" -quiet mwld -maxerrors 5 -warn on -maxwarnings 20 -nowraplines -subsystem console -search "-LC:\Program Files\Metrowerks\CodeWarrior\Win32-x86 Support\Libraries\Win32 SDK" "-LC:\Program Files\Metrowerks\CodeWarrior\Win32-x86 Support\Libraries\Runtime\Libs\MSL_All-DLLs" -o "C:\Boost\test\bin\boost\libs\concept_check\concept_check_fail_expected.test\cw\release\concept_check_fail_expected.exe" @"C:\Boost\test\bin\boost\libs\concept_check\concept_check_fail_expected.test\cw\release\concept_check_fail_expected.CMD" ...failed cw-Link-action C:\Boost\test\bin\boost\libs\concept_check\concept_check_fail_expected.test\cw\release\concept_check_fail_expected.exe... ...removing C:\Boost\test\bin\boost\libs\concept_check\concept_check_fail_expected.test\cw\release\concept_check_fail_expected.exe MkDir1 C:\Boost\test\bin\boost\libs\concept_check\class_concept_fail_expected.test MkDir1 C:\Boost\test\bin\boost\libs\concept_check\class_concept_fail_expected.test\cw MkDir1 C:\Boost\test\bin\boost\libs\concept_check\class_concept_fail_expected.test\cw\release cw-C++-action C:\Boost\test\bin\boost\libs\concept_check\class_concept_fail_expected.test\cw\release\class_concept_fail_expected.obj cw-Link-action C:\Boost\test\bin\boost\libs\concept_check\class_concept_fail_expected.test\cw\release\class_concept_fail_expected.exe ### mwld Linker Note: # Adding default library "MSL_All-DLL_x86.lib" to link order ### mwld Linker Note: # Adding default library "gdi32.lib" to link order ### mwld Linker Note: # Adding default library "kernel32.lib" to link order ### mwld Linker Note: # Adding default library "user32.lib" to link order ### mwld Linker Note: # Adding default library "MSL_All_x86.lib" to link order ### mwld Linker Note: # Including default library "MSL_All-DLL_x86.lib" ### mwld Linker Note: # Including default library "kernel32.lib" ### mwld Linker Warning: # No symbols were exported, deleting import library 'class_concept_fail_expected.lib' call "C:\Program Files\Metrowerks\CodeWarrior\Other Metrowerks Tools\Command Line Tools\cwenv.bat" -quiet mwld -maxerrors 5 -warn on -maxwarnings 20 -nowraplines -subsystem console -search "-LC:\Program Files\Metrowerks\CodeWarrior\Win32-x86 Support\Libraries\Win32 SDK" "-LC:\Program Files\Metrowerks\CodeWarrior\Win32-x86 Support\Libraries\Runtime\Libs\MSL_All-DLLs" -o "C:\Boost\test\bin\boost\libs\concept_check\class_concept_fail_expected.test\cw\release\class_concept_fail_expected.exe" @"C:\Boost\test\bin\boost\libs\concept_check\class_concept_fail_expected.test\cw\release\class_concept_fail_expected.CMD" ...failed cw-Link-action C:\Boost\test\bin\boost\libs\concept_check\class_concept_fail_expected.test\cw\release\class_concept_fail_expected.exe... ...removing C:\Boost\test\bin\boost\libs\concept_check\class_concept_fail_expected.test\cw\release\class_concept_fail_expected.exe ...failed updating 3 targets... ...skipped 5 targets... ...updated 24 targets... ======================================================================= -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

On Aug 7, 2004, at 12:30 PM, Rene Rivera wrote:
\Boost\test\bin\boost\libs\concept_check\stl_concept_covering.test\cw\r elease\stl_concept_covering.obj ### mwcc Compiler: # File: stl_concept_covering.cpp # --------------------------------- # 387: out = std::fill_n(out, n, value); # Error: ^ # illegal use of type 'void'
That's a correct error message. Though I probably would not object if the standard were changed to allow this usage. -Howard
participants (3)
-
Howard Hinnant
-
Rene Rivera
-
Stefan Slapeta