You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When OS_INCLUDE_MODULE_LOADER is not defined, the function header does not
match the definition:
[ 98%] Building C object examples/rtems-cfs-hello-world/osal/CMakeFiles/osal.dir/src/os/rtems/osloader.obj
/home/andrei/Workspace/cFS/osal/src/os/rtems/osloader.c:320:7: error: conflicting types for 'OS_ModuleLoad_Impl'
int32 OS_ModuleLoad_Impl ( uint32 module_id, char *translated_path )
^~~~~~~~~~~~~~~~~~
In file included from /home/andrei/Workspace/cFS/osal/src/os/rtems/os-rtems.h:39:0,
from /home/andrei/Workspace/on-board-software/vendor/cFS/osal/src/os/rtems/osloader.c:26:
/home/andrei/Workspace/cFS/osal/src/os/shared/os-impl.h:1230:7: note: previous declaration of 'OS_ModuleLoad_Impl' was here
int32 OS_ModuleLoad_Impl ( uint32 module_id, const char *translated_path );
Describe the bug
When OS_INCLUDE_MODULE_LOADER is not defined, the function header does not
match the definition:
This issue was introduced in PR #21 .
To Reproduce
Build with
OS_INCLUDE_MODULE_LOADER
not defined.Expected behavior
Build succeeds.
The text was updated successfully, but these errors were encountered: