WIN-18: remove exception.cc dependancy on libstdc++-v3 headers
Tom Tromey
tromey@redhat.com
Mon Feb 11 14:20:00 GMT 2002
>>>>> "Adam" == Adam Megacz <patches@lists.megacz.com> writes:
Adam> 2) Hack a std::abort() before #including unwind-pe.h, since unwind-pe
Adam> assumes that if you're compiling with a C++ compiler, you
Adam> automatically must have libstdc++-v3 available (faulty assumption,
Adam> IMHO).
Adam> Ok to commit?
Please make a couple changes first:
1. Add a comment before the `namespace std' explaining why we need this.
This is the sort of oddity we must document in the source.
Adam> +namespace std {
Adam> + void
Adam> + abort()
Adam> + {
Adam> + ::abort();
Adam> + }
Adam> +}
2. I think this should be formatted:
namespace std
{
void abort ()
{
::abort ();
}
}
Thanks,
Tom
More information about the Java-patches
mailing list