Visual Studio Code – inline keyword causes linker error in Clion
I have a strange error concerning the inline keyword, this is just a sample code I wrote: #include <stdio.h> #include <stdint.h> uint8_t inline LIB_MATH_BTT_u8GetMSBSetBitPos(uint32_t args_u32Variable) { uint8_t local_u8MSBSetBitPos = 0; args_u32Variable = args_u32Variable >> 1; while (args_u32Variable != 0) {…