www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/04/30/08:30:06

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Date: Tue, 30 Apr 2002 14:29:48 +0200
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
Reply-To: Pavel Tsekov <ptsekov AT syntrex DOT com>
Organization: Syntrex, Inc.
X-Priority: 3 (Normal)
Message-ID: <2116094242.20020430142948@syntrex.com>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
CC: "CygWin Apps" <cygwin-apps AT cygwin DOT com>
Subject: Re[2]: setup.exe exception handling guidelines
In-Reply-To: <FC169E059D1A0442A04C40F86D9BA7600C5F59@itdomain003.itdomain.net.au>
References: <FC169E059D1A0442A04C40F86D9BA7600C5F59 AT itdomain003 DOT itdomain DOT net DOT au>
MIME-Version: 1.0

Hello Robert,

Tuesday, April 30, 2002, 2:08:37 PM, you wrote:

>> What about the standard C++ library exception class ? In the
>> recent threads regarding setup and libgetopt++ I red that we 
>> libstdc++ can be used now ?

RC> Yes, libstdc++ can be used now. Whats the header for the C++ library
RC> exception class?

#include <exception>

Don't try to look this file in /usr/include/g++-3/. Its found in the
/usr/lib/gcc-lib/target/version/include.

This is the root of all exception and is defined by the C++ language
not the stl library. Exceptions provided by the standard C++ library
are defined in <stdexcept> header. This includes out_of_range,
invalid_argument, overflow_error.

- Raw text -


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