Re: [PATCH] score: Avoid cyclic header file dependencies

2023-04-24 Thread Chris Johns
Looks good and thanks for sorting this out. Chris On 24/4/2023 11:00 pm, Sebastian Huber wrote: > There was a cyclic dependency: For RTEMS_STATIC_ANALYSIS we needed > basedefs.h in assert.h. For RTEMS_UNREACHABLE() we needed _Assert() from > assert.h in basedefs.h. > > Fix this by introducing _D

[PATCH] score: Avoid cyclic header file dependencies

2023-04-24 Thread Sebastian Huber
There was a cyclic dependency: For RTEMS_STATIC_ANALYSIS we needed basedefs.h in assert.h. For RTEMS_UNREACHABLE() we needed _Assert() from assert.h in basedefs.h. Fix this by introducing _Debug_Unreachable() in basedefs.h. Add RTEMS_FUNCTION_NAME to basedefs.h and use it in basedefs.h and assert