On 22 June 2006 19:34, kenelson8 wrote: > I am having problems getting exceptions to work properly in > the latest release of g++ distributed from cygwin. I have a multithreaded > code which is built using the no-cygwin option.
What part of 'no cygwin' don't you get? ;) If there's a bug in mingw, you should raise it on a mingw mailing list. Discussing it here would be as much of a waste of time as discussing it on an MSVC mailing list. > This is obviously a case where You know what they say about what happens if you assume ... > I have included an example below. It appears to work without the > -mno-cygwin option. So, as far as the cygwin mailing list is concerned, this is to report that there is /no/ bug? Thanks for that! > int main() { > thread_=::CreateThread(NULL,0, (LPTHREAD_START_ROUTINE) thread_go, 0, 0, NULL); You're actually fairly lucky that it works when you go mixing random win32-isms into a Cygwin app like that; you should be using pthread functions to spawn threads under cygwin. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/