I've found that the following sample, which uses nothrow memory allocation
semantics, generates a segmentation violation:
// g++ -g -fcheck-new -fno-exceptions -fno-rtti sample.cpp
#include
class foo {
public:
int v;
foo(){ v = 0; }
~foo() {}
void* operator new[](size_t size) {
This bug is more properly a bug with GCC and not with cygwin - it shows up
in GCC 3.2.2 (i386-redhat-linux) as well. So I've submitted the problem to
GCC Bugzilla. It's Bug 13215. - Tom
-Original Message-----
From: Tom Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26,
2 matches
Mail list logo