This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B19: G++ Bug


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]