This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: try-catch exception
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: vijay nag <vijunag at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 31 Oct 2013 14:17:40 +0000
- Subject: Re: try-catch exception
- Authentication-results: sourceware.org; auth=none
- References: <CAKhyrx8PKY2CuHe=xWyCHxn4R+9kGY+1iesCjEFrVPVRaUsjbA at mail dot gmail dot com>
On 31 October 2013 13:36, vijay nag wrote:
>
> I have a sample code snippet below.
>
> $cat TryCatch.h
> #ifndef __TRYCATCH_H__
> #define __TRYCATCH_H__
This is a reserved name. Never, ever use double underscore in a name
unless you are a compiler or standard library implementor. This bad
habit must be stamped out, TRYCATCH_H is a suitable include guard.