for gcc compiler, -pthread is for gcc compiler, -pthread is for generating thread-safe code. At least, it should - define _REENTRANT, so many #includes will change behaviour - link with thread-safe C runtime I'm not sure that MinGW has multi-thread safe runtime. -- Alex Tutubalin @LibRaw LLC reply
for gcc compiler, -pthread is for generating thread-safe code. At least, it should
- define _REENTRANT, so many #includes will change behaviour
- link with thread-safe C runtime
I'm not sure that MinGW has multi-thread safe runtime.