I found a seg fault in the g++ complier when I was play
around with some simple libraries I made. I isolated
the problem down to one destructor (in SimpleQueue.h)
that is a template. It's a pretty small file (60
lines) and the program does compile if I remove the
template and just use the default destructor.
I'm not sure what going on but here's the files I
isolated. Just untar them and type make, it's all ready
I checked with both gcc 3.3.2 as well as the 3.3.3
canidate, both have the same issue.
OS: Win 2k, Sp3
Reading specs from
Configured with: ../gcc/configure --with-gcc
--with-gnu-ld --with-gnu-as --host=mingw32
--target=mingw32 --prefix=/mingw --enable-threads
--disable-java-awt --without-x --enable-java-gc=boehm
Thread model: win32
gcc version 3.3.3 (mingw special)
GNU ld version 2.13.90 20030111
MINGW32_NT-5.0 MARGE 1.0.9(0.46/3/2) 2003-07-03 07:26
#define __MINGW32_VERSION 3.2
#define __MINGW32_MAJOR_VERSION 3
#define __MINGW32_MINOR_VERSION 2
Log in to post a comment.