std::runtime_error

Hi,
Which library should I link with to be able to use std::runtime_error
class?
I am unable to build following file (my command line is: qcc
runtime_error.cpp):
//----------runtime_error.cpp-----------------//
#include
class MyException : public std::runtime_error
{
public:
MyException() : std::runtime_error(“TEST\n”){};
};
int main()
{
MyException e;
return 0;
};
//----------End of runtime_error.cpp---------//

Reported error:
/tmp/AAA247578_cc.o: In function MyException::MyException(void)': /tmp/AAA247578_cc.o(.gnu.linkonce.t.__11MyException+0x29): undefined reference to runtime_error::runtime_error(basic_string<char,
string_char_traits, __efault_alloc_template<false, 0> > const &)’
cc: /usr/bin/ntox86-ld error 1


Thanks,
Oleksandr Brovko.

Hi,
If some is interested in this question…
the answer is:
#pragma implementation “stdexcept”

//----------runtime_error.cpp-----------------//
#pragma implementation “stdexcept”
#include <stdexcept
class MyException : public std::runtime_error
{
public:
MyException() : std::runtime_error(“TEST\n”){};
};
int main()
{
MyException e;
return 0;
};
//----------End of runtime_error.cpp---------//