Don't use __attribute__((noreturn)) on VxWorks

VxWorks does not mark abort() or exit() as noreturn.
Thus, functions declared noreturn which end in a call
to those functions cause a compiler warning on vxWorks.
This commit is contained in:
2025-03-19 11:06:26 -05:00
committed by Andrew Johnson
parent 350570134e
commit b97a35fec8
@@ -60,6 +60,9 @@
/*
* No return marker
*/
#ifndef vxWorks
// VxWorks does not mark abort() or exit() noreturn!
#define EPICS_NORETURN __attribute__((noreturn))
#endif
#endif /* ifndef compilerSpecific_h */