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

lms7002m_mcu: fix gcc-13 build (missing <stdint.h>) #384

Merged
merged 1 commit into from
Aug 21, 2023
Merged

lms7002m_mcu: fix gcc-13 build (missing <stdint.h>) #384

merged 1 commit into from
Aug 21, 2023

Conversation

trofi
Copy link
Contributor

@trofi trofi commented Aug 20, 2023

Without the change build on gcc-13 fails as:

/build/source/src/lms7002m_mcu/MCU_File.cpp:340:21: error: 'uint8_t' was not declared in this scope
  340 |                     uint8_t i = 0;
      |                     ^~~~~~~
/build/source/src/lms7002m_mcu/MCU_File.cpp:4:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    3 | #include <iostream>
  +++ |+#include <cstdint>

Without the change build on `gcc-13` fails as:

    /build/source/src/lms7002m_mcu/MCU_File.cpp:340:21: error: 'uint8_t' was not declared in this scope
      340 |                     uint8_t i = 0;
          |                     ^~~~~~~
    /build/source/src/lms7002m_mcu/MCU_File.cpp:4:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
        3 | #include <iostream>
      +++ |+#include <cstdint>
@rjonaitis rjonaitis merged commit 48289ef into myriadrf:master Aug 21, 2023
3 checks passed
@trofi trofi deleted the gcc-13-fix branch August 21, 2023 17:49
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