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

stdint: fix definitions of minimum limits of exact-width integer types #369

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

lukileczo
Copy link
Member

@lukileczo lukileczo commented Jul 22, 2024

JIRA: RTOS-872

Description

Fix the definitions of minimum limits of exact-width integer types. Previous version caused the compiler to assign the value 9223372036854775808 type unsigned long long and not long long as requested by the LL suffix - in which it would not fit - which caused warning.

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (refactoring, style fixes, git/CI config, submodule management, no code logic changes)

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: (list targets here).

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.

Copy link

Unit Test Results

6 649 tests   - 811   6 021 ✅  - 724   35m 39s ⏱️ - 3m 2s
  377 suites  -  43     628 💤  -  87 
    1 files   ±  0       0 ❌ ±  0 

Results for commit 625a409. ± Comparison against base commit bec0d2f.

This pull request removes 811 tests.
flash ‑ armv7m7-imxrt117x-evk:flash
phoenix-rtos-tests/cpp/hello-cpp ‑ armv7m7-imxrt117x-evk:phoenix-rtos-tests/cpp/hello-cpp
phoenix-rtos-tests/initfini/main ‑ armv7m7-imxrt117x-evk:phoenix-rtos-tests/initfini/main
phoenix-rtos-tests/ioctl/unit ‑ armv7m7-imxrt117x-evk:phoenix-rtos-tests/ioctl/unit.ioctl.data_in
phoenix-rtos-tests/ioctl/unit ‑ armv7m7-imxrt117x-evk:phoenix-rtos-tests/ioctl/unit.ioctl.data_in_big
phoenix-rtos-tests/ioctl/unit ‑ armv7m7-imxrt117x-evk:phoenix-rtos-tests/ioctl/unit.ioctl.data_inout
phoenix-rtos-tests/ioctl/unit ‑ armv7m7-imxrt117x-evk:phoenix-rtos-tests/ioctl/unit.ioctl.data_inout_big
phoenix-rtos-tests/ioctl/unit ‑ armv7m7-imxrt117x-evk:phoenix-rtos-tests/ioctl/unit.ioctl.data_out
phoenix-rtos-tests/ioctl/unit ‑ armv7m7-imxrt117x-evk:phoenix-rtos-tests/ioctl/unit.ioctl.data_out_big
phoenix-rtos-tests/ioctl/unit ‑ armv7m7-imxrt117x-evk:phoenix-rtos-tests/ioctl/unit.ioctl.in_val
…

@lukileczo lukileczo merged commit 258a6d7 into master Jul 23, 2024
29 of 30 checks passed
@lukileczo lukileczo deleted the lukileczo/fix-limits-2 branch July 23, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants