Re: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-22 Thread Martin Sebor
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

Re: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Martin Sebor
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

RE: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Travis Vitek
>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

Re: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Martin Sebor
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

RE: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Travis Vitek
>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

Re: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Martin Sebor
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

RE: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Farid Zaripov
> -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 > > >

RE: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Farid Zaripov
> -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

Re: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Martin Sebor
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

Re: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Martin Sebor
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

Re: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread William A. Rowe, Jr.
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

RE: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-21 Thread Farid Zaripov
> -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

Re: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-17 Thread Martin Sebor
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

RE: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-17 Thread Travis Vitek
>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

Re: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-14 Thread Martin Sebor
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

RE: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-14 Thread Travis Vitek
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

RE: svn commit: r565959 - /incubator/stdcxx/trunk/etc/config/src/EXTERN_C_EXCEPTIONS.cpp

2007-08-14 Thread Travis Vitek
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