What I am trying to do is to use threads.h
from C11 standard on Windows 10.
I had been installed Code::Blocks with MinGW. I've set in the Compiler Settings -std=c11
flag, but with no luck. I have been also installed a Win64 version of MinGW and I have set it as default with -std=c11
with no positive results also. I have downloaded the latest version of tdm-gcc and nothing changed.
All that I get is: fatal error: threads.h: No such file or directory
I know somebody that had been just installed the latest version of Code::Blocks and he has threads.h
. I did it the same, but it seems that it doesn't work. I have read all the questions here, I almost know the responses and the comments just reading the first phrase in the question.
I found that Pelles C windows development kit has C11 standard available to use. The threads.h
optional library is already integrated. I have been installed it, but I have a lot of GNU static libraries (.a) which should be compiled to Windows static or dynamic libraries, so it will be very time consuming.
Any help or any new information will be appreciated.