delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/30/18:00:33

From: aicramer AT yahoo DOT com (Cramer Soft)
Subject: B19: G++ Bug
30 Aug 1998 18:00:33 -0700 :
Message-ID: <19980830204347.27245.rocketmail.cygnus.gnu-win32@send104.yahoomail.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019