This error in Windows: d:\programs\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/../../../../include/pthread.h:890: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In Linux it's compiled sucscessfully. I don't changed the code in Windows. Why is this stupid error? Help me please!