You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
New warnings noted when building for RTEMS:
/home/joe/code/cfecfs/github/osal/src/tests/time-base-api-test/time-base-api-test.c:110:5: error: format '%d' expects argument of type 'int', but argument 4 has type 'int32' [-Werror=format=]
snprintf(overMaxTimeBase, 12, "TimeBase%d", TimeBaseNum);
^
To Reproduce
Build code using i686-rtems4.11 toolchain.
Expected behavior
Should build cleanly.
System observed on:
Cross compile for i686-rtems4.11 on Ubuntu 20.04 host.
Additional context
Needs cast whenever fixed-width types are used with printf.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Jun 16, 2020
Describe the bug
New warnings noted when building for RTEMS:
To Reproduce
Build code using
i686-rtems4.11
toolchain.Expected behavior
Should build cleanly.
System observed on:
Cross compile for
i686-rtems4.11
on Ubuntu 20.04 host.Additional context
Needs cast whenever fixed-width types are used with printf.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: