Skip to content

cFS Build issue: header guard typo #488

Description

@jakeheke75

Describe the bug
While building cFS I get the following error:

/cFS/psp/unit-test-coverage/ut-stubs/override_inc/rtems/score/todimpl.h:20: error:
header guard ‘OVERRIDE_TOOIMPL_H’ followed by ‘#define’ of a different macro [-Werror=header-guard]
   20 | #ifndef OVERRIDE_TOOIMPL_H

To Reproduce
Steps to reproduce the behavior:

  1. Build cFS with command make native_std.prep && make native_std.install
  2. See error

Expected behavior
Build cFS successfully.

Code snips

#ifndef OVERRIDE_TOOIMPL_H
#define OVERRIDE_TODIMPL_H

Fix the typo at line 20

#ifndef OVERRIDE_TODIMPL_H 

System observed on:

  • Fedora Linux 44 Workstation
  • gcc (GCC) 16.1.1 20260515

Please let me know if you want me to provide a pull request for this.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions