Does gcc 4.7.1 support threads?

前端 未结 3 1044
-上瘾入骨i
-上瘾入骨i 2020-12-19 06:12

I followed the instruction here on setting up CodeBlocks to use GCC 4.7.1 .the sample provided at the page i mentioned is compiled just fine,But when i tried to compile the

3条回答
  •  庸人自扰
    2020-12-19 06:38

    With mingw, the thread support of gcc depends on which build you get. Some builds don't support threads, others do.

    I believe that the mingw build at http://code.google.com/p/mingw-builds/downloads/list supports threads.

提交回复
热议问题