-
Notifications
You must be signed in to change notification settings - Fork 244
Description
Describe the bug
Conflicting types for the implementations
To Reproduce
Attempt to compile w/ os-impl-no-symtab.c: OSAL_CONFIG_INCLUDE_DYNAMIC_LOADER FALSE
Expected behavior
Should compile
Code snips
Many of the implementations don't match, sample:
src/os/portable/os-impl-no-symtab.c:55:7: error: conflicting types for ‘OS_ModuleSymbolLookup_Impl’
int32 OS_ModuleSymbolLookup_Impl(uint32 local_id, cpuaddr *SymbolAddress, const char *SymbolName)
src/os/shared/inc/os-shared-module.h:115:7: note: previous declaration of ‘OS_ModuleSymbolLookup_Impl’ was here
int32 OS_ModuleSymbolLookup_Impl(const OS_object_token_t *token, cpuaddr *SymbolAddress, const char *SymbolName);
System observed on:
- Hardware: cFS Dev Server
- OS: Ubuntu 18.04
- Versions cFS Bundle
Additional context
Seen when adding a coverage test for this code (#795), #796
Reporter Info
Jacob Hageman - NASA/GSFC