Skip to content

Compiler warnings in OSAL #298

@jphickey

Description

@jphickey

Describe the bug
Some warnings still get triggered when building the coverage tests with high strictness flags, as they exercise some API calls that are not even used by the FSW code. So even though the FSW itself builds clean, when the coverage test is added it is no longer clean due to these issues.

To Reproduce
Build OSAL coverage tests with warnings/strictness flags, at least:
-Wall -Werror -std=c99 -pedantic -Wstrict-prototypes -Wcast-align -Wwrite-strings

Expected behavior
Should build warning free.

System observed on:
Ubuntu 18.04 LTS, 64 bit.

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions