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
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/
_
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 /
>
/** 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
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
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