Index: libs/program_options/test/parsers_test.cpp =================================================================== --- libs/program_options/test/parsers_test.cpp (Revision 57534) +++ libs/program_options/test/parsers_test.cpp (Arbeitskopie) @@ -57,7 +57,7 @@ BOOST_CHECK(option.value.front() == value); } -vector sv(char* array[], unsigned size) +vector sv(const char* array[], unsigned size) { vector r; for (unsigned i = 0; i < size; ++i) @@ -113,10 +113,10 @@ ("baz", new untyped_value()) ("plug*", new untyped_value()) ; - char* cmdline3_[] = { "--foo=12", "-f4", "--bar=11", "-b4", + const char* cmdline3_[] = { "--foo=12", "-f4", "--bar=11", "-b4", "--plug3=10"}; vector cmdline3 = sv(cmdline3_, - sizeof(cmdline3_)/sizeof(cmdline3_[0])); + sizeof(cmdline3_)/sizeof(const char*)); vector