2024-02-24 07:42 PM
So most all of code is building, then I went to add usage of strtok, which requires string.h.
Unfortunately I get this really odd error. Its claiming strncasecmp is redefined.
In file included from C:\ST\STM32CubeIDE_1.13.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506\tools\bin\../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/include/string.h:24,
from C:/Users/jerry.morrow/git/mcu_6800_ACS-1173/diag/src/i2c_gen_cmd.c:15:
C:\ST\STM32CubeIDE_1.13.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506\tools\bin\../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/include/strings.h:68:10: error: conflicting types for 'strncasecmp'; have 'int(const char *, const char *, size_t)' {aka 'int(const char *, const char *, unsigned int)'}
68 | int strncasecmp(const char *, const char *, size_t) __pure;
| ^~~~~~~~~~~
2024-02-25 06:25 AM
please ignore post, i don't know how to remove from board