Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 72333 invoked by uid 500); 10 May 2001 02:35:42 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 72311 invoked from network); 10 May 2001 02:35:38 -0000 Received: from glatton.cnchost.com (207.155.248.47) by h31.sny.collab.net with SMTP; 10 May 2001 02:35:38 -0000 Received: from www2 (www3.rowe-clan.net [208.176.192.148]) by glatton.cnchost.com id WAA13858; Wed, 9 May 2001 22:35:42 -0400 (EDT) [ConcentricHost SMTP Relay 1.11] Errors-To: Message-ID: <05b901c0d8f9$ac010c20$94c0b0d0@roweclan.net> Reply-To: "William A. Rowe, Jr." From: "William A. Rowe, Jr." To: , "Marc Schablewski" References: <20010509110004.2414.qmail@apache.org> Subject: Re: general/7641: Exception-handling does not work when writing an apache-module in C++ Date: Wed, 9 May 2001 21:29:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > The following reply was made to PR general/7641; it has been noted by GNATS. > > From: Marc Schablewski > To: marc@apache.org > Cc: apbugs@apache.org > Subject: Re: general/7641: Exception-handling does not work when writing an > apache-module in C++ > Date: Wed, 09 May 2001 13:00:00 +0200 > > I still believe, that this could be a problem with apache. > > I wrote a simple C main program (copiled with gcc, not g++) > that loads a C++ shared library. This library contains just a single > function that trows an exception an than catches it. > (source code available, if needed) That doesn't suprise me. try/catch semanitics aren't built into apache by default. Change your cflags appropriately and try building the entire apache with the appropriate switches, and I believe you will find it works. Unfortunately, the try/catch semantics introduce additional overhead that aren't warrented unless the module author (you) intends to use them, so Apache is not built that way by default. If you can document the appropriate gcc build changes required for try/catch semantics, feel free to reply so we can document them.