|
Boost : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-05-17 05:35:04
Attached patch fixes the last failure on Tru64. (See
http://tinyurl.com/dfslr) Ok to commit?
Markus
Index: parsers_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/program_options/test/parsers_test.cpp,v
retrieving revision 1.12
diff -u -w -r1.12 parsers_test.cpp
--- parsers_test.cpp 27 Apr 2005 07:02:39 -0000 1.12
+++ parsers_test.cpp 17 May 2005 10:12:16 -0000
@@ -126,7 +126,13 @@
// Regression test: check that '0' as style is interpreted as
// 'default_style'
vector<option> a4 =
- parse_command_line(5, cmdline3_, desc, 0, additional_parser).options;
+ parse_command_line(5,
+#if BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590042))
+ static_cast<char const * const *>(cmdline3_),
+#else
+ cmdline3_,
+#endif
+ desc, 0, additional_parser).options;
BOOST_CHECK_EQUAL(a4.size(), 4u);
check_value(a4[0], "foo", "4");
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk