Travis Vitek wrote:
Martin Sebor wrote:
Farid Zaripov wrote:
I've just tried to declare and define __rw_once with throw(...)
exception specification and compiler doesn't issues warning in
that case.
Yes, but the documentation linked to explicitly says...
Explicit exception specificatio
Travis Vitek wrote:
Martin Sebor wrote:
Maybe when the documentation is referring to C functions it means
functions that are compiled as C source [x.c instead of
x.cpp] and not functions with C linkage?
Who knows... Have you tried it?
I have now. The compiler chokes on 'throw' when compil
>Martin Sebor wrote:
>>
>> Maybe when the documentation is referring to C functions it means
>> functions that are compiled as C source [x.c instead of
>> x.cpp] and not functions with C linkage?
>
>Who knows... Have you tried it?
I have now. The compiler chokes on 'throw' when compiling C so
Travis Vitek wrote:
Martin Sebor wrote:
Farid Zaripov wrote:
I've just tried to declare and define __rw_once with throw(...)
exception specification and compiler doesn't issues warning in
that case.
Yes, but the documentation linked to explicitly says...
Explicit exception specificatio
>Martin Sebor wrote:
>
>Farid Zaripov wrote:
>>
>>
>> I've just tried to declare and define __rw_once with throw(...)
>> exception specification and compiler doesn't issues warning in
>> that case.
>
Yes, but the documentation linked to explicitly says...
Explicit exception specifications
Farid Zaripov wrote:
-Original Message-
From: Martin Sebor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 21, 2007 9:26 PM
To: stdcxx-dev@incubator.apache.org
Subject: Re: svn commit: r565959 -
/incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp
There's no #pragm
> -Original Message-
> From: Martin Sebor [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 21, 2007 9:26 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: svn commit: r565959 -
> /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp
>
> >
> -Original Message-
> From: Martin Sebor [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 21, 2007 9:36 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: svn commit: r565959 -
> /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp
>
> Wi
William A. Rowe, Jr. wrote:
Farid Zaripov wrote:
From: Martin Sebor [mailto:[EMAIL PROTECTED]
I just found out that the /Ehc flag enables the nothrow default for C
linkage functions. So changing the /EHsc flag to /EHs will fix this
for both VC7 and 8.
Do you happen to know if there's a #pragm
Farid Zaripov wrote:
-Original Message-
From: Martin Sebor [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 18, 2007 12:00 AM
To: stdcxx-dev@incubator.apache.org
Subject: Re: svn commit: r565959 -
/incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp
I just found out that
Farid Zaripov wrote:
>> From: Martin Sebor [mailto:[EMAIL PROTECTED]
>>
>>> I just found out that the /Ehc flag enables the nothrow default for C
>>> linkage functions. So changing the /EHsc flag to /EHs will fix this
>>> for both VC7 and 8.
>> Do you happen to know if there's a #pragma that wil
> -Original Message-
> From: Martin Sebor [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 18, 2007 12:00 AM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: svn commit: r565959 -
> /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp
>
> > I j
Travis Vitek wrote:
Martin Sebor wrote:
Travis Vitek wrote:
Martin,
I'm not sure if you're aware, but I don't believe that the
destructors for stack objects inside the C functions will
be called. I know that this is the case for MSVC7/8. This
isn't an issue for your testcase, but it may
>Martin Sebor wrote:
>
>Travis Vitek wrote:
>> Martin,
>>
>> I'm not sure if you're aware, but I don't believe that the
>> destructors for stack objects inside the C functions will
>> be called. I know that this is the case for MSVC7/8. This
>> isn't an issue for your testcase, but it may be
Travis Vitek wrote:
Martin,
I'm not sure if you're aware, but I don't believe that the destructors
for stack objects inside the C functions will be called. I know that
this is the case for MSVC7/8. This isn't an issue for your testcase, but
it may be an issue for the functions invoked by __rw_on
rrorlevel 1 (echo failure) else (echo success!)
success!
C:\>t 1 0
C:\>if errorlevel 1 (echo failure!) else (echo success!)
failure!
>-Original Message-
>From: Travis Vitek [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, August 14, 2007 5:18 PM
>To: stdcxx-dev@incubator.apach
Martin,
I'm not sure if you're aware, but I don't believe that the destructors
for stack objects inside the C functions will be called. I know that
this is the case for MSVC7/8. This isn't an issue for your testcase, but
it may be an issue for the functions invoked by __rw_once.
I think this is
17 matches
Mail list logo