Martin Sebor wrote:
Nicole Willson wrote:
There is a workaround that keeps it from aborting - basically instead of
calling x = foo("some string");, you set the string ahead of time, ie
Char *some_str = "some string"; x = foo(some_str);
Thanks for sharing that! What's foo and what line of the test
is the call that needs to be changed on? On the latest trunk
the abort happens on line 439 where there's no string argument
anywhere:
Sorry, it actually happens on line 478 (in close_catalog, not
in open_catalog):
469 template <class charT>
470 void
471 close_catalog (const std::messages<charT> &msgs,
472 std::messages_base::catalog cat,
473 bool expect_exception,
474 const char *cname, int line)
475 {
476 try {
477 // an already closed cat should throw an exception
478 (msgs.close)(cat);
479
480 rw_assert (!expect_exception, 0, line,
Martin