I am attempting to compile FreeRTOS 6.1.1 with IAR ARM compiler version 6.05 but I keep running into an error with a specific compiler option. I want to compile the code with the “Multi-file Compilation” option enabled but I always get errors in the queue.c file. An example of the errors I get is “declaration of function “xQueueTakeMutexRecursive” is incompatible with a declaration in another translation”. I get roughly 15 errors in this file. If I remove the compiler option the code compiles perfectly and runs fine. Does anyone have any idea why these errors are coming up and how to avoid them?