Boost logo

Boost :

From: James Talbut (James.Talbut_at_[hidden])
Date: 2008-04-16 06:18:25


Hi,
 
The following lines generate an AV on boost 1.35.0 in a release build on
MSVC 8 on Vista.
  boost::program_options::options_description Desc("Allowed Options");
  Desc.add_options()
      ("help,?", "Display help message")
      ("print_suites", "Print out the suite heirarchy")
      ("log_level",
"all|test_suite|message|warning|error|cpp_exception|system_error|fatal_e
rror|nothing")
      ("result_code", "Set to \"no\" to forces the return code to be
zero")
      ("report_level", "no|confirm|short|detailed")
      ("run_test", boost::program_options::value< std::string >(), "Test
to run")
      ("save_pattern", "")
      ("build_info", "Report compiler and build details")
      ("show_progress", "Makes the framework print progress
information.")
      ("catch_system_errors", "Attempt to catch and report system errors
(can make debugging harder)")
      ("report_format", "HRF|XML")
      ("log_format", "Set the log format used")
      ("output_format", "HRF|XML")
      ("detect_memory_leaks", "Attempt to catch and report memory leaks
(can be annoying with 3rd party caches)")
      ("random", "Run test cases in random order (integer parameter is
used as seed)")
      ("break_exec_path", "")
      ;
 
It works fine with 1.34 (release or debug) and with a debug build on
1.35.

I haven't managed to work out why this is happening yet, so I can't rule
out it being my fault.

Is anyone aware of anything going on in this area?

Jim

________________________________________________________________________
This e-mail, and any attachment, is confidential. If you have received it in error, do not use or disclose the information in any way, notify me immediately, and please delete it from your system.
________________________________________________________________________


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk