Subject: B19: G++ Bug
From: [email-masked] (Cramer Soft)

30 Aug 1998 18:00:33 -0700
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: [email-masked]

I'm not sure if this is the place to post this as it's
probably a (well known?) bug with g++ but here are the details:

==================bug1.cc==============================
#include<iostream.h>

class Test 
{
public:  
  Test() { cout << "Creating Test\n"; }
  ~Test() { cout << "Destroying Test\n"; }
};

Test aTest;

void main() {}
======================================================

On Execution:
>gcc --version
2.7-B19
>g++ -v
Reading specs from
d:/Cygnus/B19/H-i386-cygwin32/lib/gcc-lib/i386-cygwin32\2.7-B
19\specs
gcc driver version 2.7-B19 executing gcc version 2.7-97r2aBeta
>g++ -o bug1 bug1.cc
>bug1.exe
(D:\CYGNUS\ROOT\HOMES\BUGS\G++\BUG1.EXE 1003) Exception:
STATUS_ACCESS_VIOLATION
(D:\CYGNUS\ROOT\HOMES\BUGS\G++\BUG1.EXE 1003) Dumping stack trace to
BUG1.EXE.core

Is there a later version/another g++ compiler
I ought to be using?  Thanks --Andrew 
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".