#1282 runtime_error text not shown

closed-invalid
nobody
2009-04-02
2009-04-01
No

#include <stdexcept>
using namespace std;

int main() {
throw runtime_error("ouch");
}

// g++ -Wall -Wextra test.cc -o test -O3 -s
// g++ (GCC) 4.3.3-dw2-tdm-1 <http://nuwen.net/mingw.html>
// WinXP SP3
// CMD.exe

Result:
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Expected:
what() "ouch" should be shown somewhere in there. It used to be in < 4.3.

See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39530>

Discussion

  • Danny Smith

    Danny Smith - 2009-04-02

    This is not a mingw.org bug, since mingw.org does not distribute g++ (GCC) 4.3.3-dw2-tdm-1
    See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39530>

     
  • Danny Smith

    Danny Smith - 2009-04-02
    • status: open --> closed-invalid