incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: [PATCH] NEW_THROWS.cpp
Date Thu, 28 Sep 2006 16:56:21 GMT
Farid Zaripov wrote:
>   If the operator new doesn't throw exception, #define
> _RWSTD_NO_NEW_THROWS
> appears twice in config.h file:
> - first (//#define _RWSTD_NO_NEW_THROWS) from configure.wsf script due
> to zero exit code;
> - second (#define _RWSTD_NO_NEW_THROWS) from test printf().
> 
> 
>   The patch below:

Okay, thanks for fixing this!
Martin

> 
> Index: NEW_THROWS.cpp
> ===================================================================
> --- NEW_THROWS.cpp	(revision 450890)
> +++ NEW_THROWS.cpp	(working copy)
> @@ -115,7 +115,5 @@
>          return 0;
>      }
>  
> -    printf ("#define _RWSTD_NO_NEW_THROWS\n");
> -
> -    return 0;
> +    return 1;
>  }
> 
> Farid.


Mime
View raw message