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

fixed common.cpp compilation for test-translationhandler #6561

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

firewave
Copy link
Collaborator

@firewave firewave commented Jul 1, 2024

In file included from /mnt/s/GitHub/cppcheck-fw/gui/common.cpp:20:
/mnt/s/GitHub/cppcheck-fw/gui/common.h:55:25: error: no type named 'uint8_t' in namespace 'std'; did you mean simply 'uint8_t'?
   55 | enum class ReportType : std::uint8_t { normal=0, autosar=1, certC=2, certCpp=3, misraC=4, misraCpp2008=5, misraCpp2023=6 };
      |                         ^~~~~~~~~~~~
      |                         uint8_t
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:24:19: note: 'uint8_t' declared here
   24 | typedef __uint8_t uint8_t;
      |                   ^

I have no idea why this does not happen in the CI.

```
In file included from /mnt/s/GitHub/cppcheck-fw/gui/common.cpp:20:
/mnt/s/GitHub/cppcheck-fw/gui/common.h:55:25: error: no type named 'uint8_t' in namespace 'std'; did you mean simply 'uint8_t'?
   55 | enum class ReportType : std::uint8_t { normal=0, autosar=1, certC=2, certCpp=3, misraC=4, misraCpp2008=5, misraCpp2023=6 };
      |                         ^~~~~~~~~~~~
      |                         uint8_t
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:24:19: note: 'uint8_t' declared here
   24 | typedef __uint8_t uint8_t;
      |                   ^
```

I have no idea why this does not happen in the CI.
@firewave firewave merged commit 66f7700 into danmar:main Jul 11, 2024
63 checks passed
@firewave firewave deleted the build-fix branch July 11, 2024 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants