Skip to content

os-impl-no-symtab.c out of date #797

@skliper

Description

@skliper

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions