C11 thread trial under Windows, Mingw+eclipse

Source: Internet
Author: User
Tags posix

C11 threads are supported.

Encounter problems

1.eclipse cannot start, error is as follows


Eclipse cannot start Java was started but returned exit code=13JDK and Eclipse software are incompatible, choose 64 bit, resolve

2. Compilation display does not support C11

" This file requires compiler and library support for the ISO C + + standard .

Modify configuration to increase compilation options

-std=c++11

Http://www.educity.cn/wenda/248863.html

3. The compiler does not support threading

MinGW error: ' Thread ' is not a member of ' STD ' download contains the "posix-threads"Supported compilers.

The links are as follows:

http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-posix/sjlj/

This piece does not know how to describe, the specific need to further explore. Under MinGW's source code compiles itself



Resources

Http://jingyan.baidu.com/article/380abd0a5888211d90192cd6.html

Http://stackoverflow.com/questions/21211980/mingw-error-thread-is-not-a-member-of-std

Http://www.cnblogs.com/haippy/p/3235560.html

http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-posix/sjlj/

Http://www.educity.cn/wenda/248863.html

C11 thread trial under Windows, Mingw+eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.