Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build broken on RTEMS 4.11 #699

Closed
jphickey opened this issue Dec 18, 2020 · 0 comments · Fixed by #748 or #767
Closed

Build broken on RTEMS 4.11 #699

jphickey opened this issue Dec 18, 2020 · 0 comments · Fixed by #748 or #767
Assignees
Labels
Milestone

Comments

@jphickey
Copy link
Contributor

Describe the bug
A recent change has broken the build for RTEMS (again). These are printf format warnings.

/home/joe/code/cfecfs/github/osal/src/tests/select-test/select-test.c: In function 'TestSelectSingleRead':
/home/joe/code/cfecfs/github/osal/src/tests/select-test/select-test.c:321:5: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32' [-Werror=format=]
     UtAssert_True(StateFlags == 0, "OS_SelectSingle() (%d) == None", StateFlags);
     ^
/home/joe/code/cfecfs/github/osal/src/tests/select-test/select-test.c:331:5: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32' [-Werror=format=]
     UtAssert_True(StateFlags == OS_STREAM_STATE_READABLE, "OS_SelectSingle() (%d) == OS_STREAM_STATE_READABLE",
     ^
/home/joe/code/cfecfs/github/osal/src/tests/select-test/select-test.c: In function 'TestSelectSingleWrite':
/home/joe/code/cfecfs/github/osal/src/tests/select-test/select-test.c:436:9: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32' [-Werror=format=]
         UtAssert_True(StateFlags == 0, "OS_SelectSingle() (%d) == None", StateFlags);
         ^

Appears to be added by PR #683 ....

To Reproduce
Build for RTEMS 4.11 per instructions and default config. Build fails.

Expected behavior
Build should succeed.

System observed on:
Ubuntu 20.04 as build host for RTEMS 4.11.3 / pc686 BSP.

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey added the bug label Dec 18, 2020
@skliper skliper added this to the 6.0.0 milestone Dec 21, 2020
zanzaben added a commit to zanzaben/osal that referenced this issue Dec 29, 2020
zanzaben added a commit that referenced this issue Jan 11, 2021
zanzaben added a commit to zanzaben/osal that referenced this issue Jan 13, 2021
astrogeco added a commit that referenced this issue Jan 21, 2021
jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022
Fix nasa#309, Typo in CFE_ES_RestartApp WriteToSysLog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants