Hello Ruben! Thanks for your latest build.
On Sun, Apr 7, 2013 at 3:38 PM, Ruben Van Boxem <[email protected]> wrote: > 2013/4/7 K. Frank <[email protected]> > >> Hello John and Ruben! >> >> On Sun, Apr 7, 2013 at 3:04 PM, John E. / TDM <[email protected]> wrote: >> > On 4/7/2013 12:44 PM, Ruben Van Boxem wrote: >> > >> > 2013/4/7 K. Frank <[email protected]> >> > >> >> Or maybe "-std=gnu++11" would be better still. The best of both >> >> worlds! >> > >> > No. Don't use that. That's the road to non-portability. Dark things live >> > there. Or maybe dragons. >> > ... >> Besides, I was only suggesting making -std=gnu++11 the default >> for Ruben's fringe, out-there, std::thread-enabled build that people >> will only want to use if the use std::thread, which will anyway require >> them to use -std=gnu++11 (or -std=c++11). > > Anyways, I got a fixed build uploading right now. I tested the 64-bit > std::thread hello world and it worked without -static without a c++ > exception. Sorry again for forgetting the patch in all the previous builds. > Filenames are the same, as are the sources except for a one-liner patch. I downloaded Ruben's new build, still called: x86_64-w64-mingw32-gcc-4.8-stdthread-win64_rubenvb.7z I tried it on some of my random std::thread test programs, compiling thus: g++ -std=gnu++11 -o std_thread_test_h std_thread_test_h.cpp and everything appears to be working properly. And no "-static". (But, sadly, requiring "-std=gnu++11" or "-std=c++11". Note, "-std=gnu++11" seems to be required in order to get things like "_stdcall" defined. I wonder why gcc / mingw-w64 doesn't define "_stdcall" when using "-std=c++11". As "_stdcall" starts with an underscore, "_", I think it would be compliant.) > At your service, > > Ruben Happy Multithreaded Hacking! K. Frank ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
