stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: Cygwin 12d build issues
Date Fri, 09 Mar 2007 00:41:22 GMT
Mark or Farid, could one of you please open an issue for this?

Thanks
Martin

Farid Zaripov wrote:
>> -----Original Message-----
>> From: Martin Sebor [mailto:sebor@roguewave.com] 
>> Sent: Sunday, March 04, 2007 2:22 AM
>> To: stdcxx-dev@incubator.apache.org
>> Subject: Re: Cygwin 12d build issues
>>
>> Mark Brown wrote:
>>>> -----Original Message-----
>>>> From: mbrown@inbox.com
>>>> Sent: Sat, 3 Mar 2007 11:33:26 -0800
>>>> To: stdcxx-dev@incubator.apache.org
>>>> Subject: Re: Cygwin 12d build issues
>>>>
>>>> Thanks. I opened issue STDCXX-346 for the -fPIC warnings. 
>> I'll post a 
>>>> patch as soon as I'm done testing it.
>>>>
>>>> What about the LIBC_EXCEPTIONS.exe problem with the popup window?
>>> The other test that pops up this window is 
>> EXTERN_INLINE.exe. It says:
>>> EXTERN_INLINE.exe has stopped working.
>>> A problem caused the program to stop working  correctly.
>>> Windows will close the program and notify you if a solution is 
>>> available.
>> There shouldn't be any windows popping up when configuring, 
>> building, or using stdcxx. We have code that prevents the 
>> annoying Windows popups in tests that are expected to end 
>> abnormally (e.g., via an exception), for example, 
>> DYNAMIC_CAST.cpp, or NEW_THROWS.cpp, but I don't believe the 
>> two you mention are among them.
>>
>> I suppose we could introduce a common header with the code 
>> and #include it from every test to prevent these popups even 
>> when they are not anticipated. It's something to think about.
>>
>> In any case, please go ahead and open an issue for the problem.
>>
>> I don't have a Cygwin environment handy to test it right now 
>> but Farid might. Farid, if you have installed Cygwin, could 
>> you do a build and see if you can reproduce it?
> 
>   I have just installed Cygwin. The problem is reproduced.
> 
>   We have the code that prevent theese popups, but only in
> THREAD_SAFE_EXCEPTIONS.cpp:
> 
> #if defined (_WIN32)
>     // disable displaying the critical-error-handler
>     // and general-protection-fault message boxes
>     // windows.h included in thread.h
>     SetErrorMode (SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
> #endif   // _WIN32
> 
> Farid.


Mime
View raw message