Re: [Mingw-w64-public] C++11 thread_local crash

2014-04-06 Thread John E. / TDM
On 4/6/2014 8:43 AM, lh_mouse wrote: *snip* > E:\Desktop>g++ test.cpp -std=c++11 > > E:\Desktop>a > ctor > dtor > /** Crashes here / > > E:\Desktop>g++ test.cpp -std=c++11 -static > > E:\Desktop>a > ctor > dtor > /** This does not crash **/ > > E:\Desktop>g++ -v > /** omitted

Re: [Mingw-w64-public] C++11 thread_local crash

2014-04-06 Thread niXman
niXman 2014-04-06 19:46: > please try i686-posix-sjlj. Sorry, I was wrong. I have no idea... -- Regards, niXman ___ Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows: http://sourceforge.net/projects/mingw-w64/ _

Re: [Mingw-w64-public] C++11 thread_local crash

2014-04-06 Thread niXman
lh_mouse писал 2014-04-06 18:43: > /** sample code begin / > #include > > struct S { > S(){ > std::puts("ctor"); > } > ~S(){ > std::puts("dtor"); > } > }; > > int main(){ > thread_local S s; > } > /** sample code end / >

[Mingw-w64-public] C++11 thread_local crash

2014-04-06 Thread lh_mouse
/** sample code begin / #include struct S { S(){ std::puts("ctor"); } ~S(){ std::puts("dtor"); } }; int main(){ thread_local S s; } /** sample code end / E:\Desktop>g++ test.cpp -std=c++11 E:\Desktop>a ct

Re: [Mingw-w64-public] clang and mingw

2014-04-06 Thread niXman
G M 2014-04-06 12:22: > If there is a location to obtain a later build to download than the one > I > mentioned before, I'm keen to know where that is. Next week I will rebuild gcc-4.8.2 and gcc-4.9.0. -- Regards, niXman ___ Dual-target(32 & 64-bi

Re: [Mingw-w64-public] clang and mingw

2014-04-06 Thread G M
Hi Kai I applied your patch, the output was this: C:\mingw\x86_64-w64-mingw32\include>patch -p0 stdio.h < stdio.diff patching file stdio.h patch unexpectedly ends in middle of line Hunk #6 succeeded at 833 with fuzz 1. The message didn't make me feel confident about the patch, but I was able to b