-
Notifications
You must be signed in to change notification settings - Fork 157
Description
Hi all,
when i build with cmake i get the below warning:
[build] [2/36] Building C object hardware/batterycasecontroller/modm/CMakeFiles/modm.dir/ext/gcc/cabi.c.obj [build] C:/Projekte/unimoc/hardware/batterycasecontroller/modm/ext/gcc/cabi.c: In function '_exit': [build] C:/Projekte/unimoc/hardware/batterycasecontroller/modm/ext/gcc/cabi.c:20:1: warning: 'noreturn' function does return [build] 20 | } [build] | ^ [build] C:/Projekte/unimoc/hardware/batterycasecontroller/modm/ext/gcc/cabi.c: In function 'abort': [build] C:/Projekte/unimoc/hardware/batterycasecontroller/modm/ext/gcc/cabi.c:26:1: warning: 'noreturn' function does return [build] 26 | } [build] | ^
If i comment the _exit and abort fuction in cabi.c file the build is still successful but the warning is gone. So i suspect that a noreturn void _exit and noreturn void abort is defined somewere else. So i ask my self whether its an issue of the cmake build including a clib part that isn't supposed to be included in the build.
Does anyone have hints on this?
BR
Alex