Can't build on GCC11

Moderators: MattKingUSA, khz, muldjord, deva

Post Reply
Basslint
Established Member
Posts: 1516
Joined: Sun Jan 27, 2019 2:25 pm
Location: Italy
Has thanked: 385 times
Been thanked: 299 times

Can't build on GCC11

Post by Basslint »

Hello,

Drumgizmo version 0.9.19 does not build on GCC11 (on openSUSE Tumbleweed, but I think the problem is more general). It built properly on older versions of GCC with the same flag; the errors happened because of GCC11's increased strictness - just to make an example, it can't find std::uint64_t if you don't explicitly #include <cstdint>

You can find our build log here.
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]

Please donate time (even bug reports) or money to libre software 🎁

Jam on openSUSE + GeekosDAW!
User avatar
deva
Established Member
Posts: 285
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 31 times
Contact:

Re: Can't build on GCC11

Post by deva »

Thanks for the heads-up.

I cannot read the build log that you attached because it requires authentication, but I'm guessing it is the src/translation.h file that is missing the cstdint include?
Basslint
Established Member
Posts: 1516
Joined: Sun Jan 27, 2019 2:25 pm
Location: Italy
Has thanked: 385 times
Been thanked: 299 times

Re: Can't build on GCC11

Post by Basslint »

I am sorry, my bad. Here is the log :D
Attachments
_log.txt
(67.66 KiB) Downloaded 110 times
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]

Please donate time (even bug reports) or money to libre software 🎁

Jam on openSUSE + GeekosDAW!
User avatar
deva
Established Member
Posts: 285
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 31 times
Contact:

Re: Can't build on GCC11

Post by deva »

Fix pushed to the develop branch. Thanks for reporting :-)
Post Reply