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

9.25.0: build errors #31

Open
1848 opened this issue Aug 10, 2023 · 0 comments
Open

9.25.0: build errors #31

1848 opened this issue Aug 10, 2023 · 0 comments
Assignees

Comments

@1848
Copy link

1848 commented Aug 10, 2023

In file included from DrbdMonConsts.cpp:1:
./DrbdMonConsts.h:9:10: error: use of enum ‘run_action_type’ without previous declaration
    9 |     enum run_action_type : uint8_t
      |          ^~~~~~~~~~~~~~~
./DrbdMonConsts.h:9:28: error: ‘uint8_t’ was not declared in this scope
    9 |     enum run_action_type : uint8_t
      |                            ^~~~~~~
./DrbdMonConsts.h:5:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    4 | #include <string>
  +++ |+#include <cstdint>
    5 |
./DrbdMonConsts.h:10:5: error: default member initializer for unnamed bit-field
   10 |     {
      |     ^
make[1]: *** [<builtin>: DrbdMonConsts.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/e/packages/drbd-utils/src/drbd-utils-9.25.0/user/drbdmon'
make: *** [Makefile:90: tools] Error 2

Build worked fine for 9.24.0.

gcc (GCC) 13.2.1 20230801
Do you need additional information?

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

No branches or pull requests

2 participants