delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/09/07:36:35

From: gunther DOT ebert AT ixos-leipzig DOT de (Gunther Ebert)
Subject: C++ problem in b17
9 Dec 1996 07:36:35 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <32AC1763.1B3F.cygnus.gnu-win32@ixos-leipzig.de>
Mime-Version: 1.0
X-Mailer: Mozilla 3.0Gold (WinNT; I)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi,

it seems like the C++ problem of b16 still remains in b17.
That means it is impossible to build a c++ program
using exceptions (or even containing an object file that is
compiled with the -fexceptions option). You can reproduce
the problem with the following sample:

/* file hello.cc */
#include <stdio.h>
int main() { printf("Hello, world\n"); return 0; }
/* end of hello.cc */


$ gcc -c -fexceptions hello.cc
$ gcc -o hello.exe hello.o -lstdc++
$ hello
bash: ./hello.exe: not owner
$ 


The old compiler option -fhandle-exceptions doesn't work either.
All that works fine with b14. Does anybody have any ideas?


Gunther
-
For help on using this list, 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