halfgaar / FlashMQ

FlashMQ is a fast light-weight MQTT broker/server, designed to take good advantage of multi-CPU environments
https://www.flashmq.org/
Open Software License 3.0
173 stars 24 forks source link

[#50] Fails to build with gcc 13 #51

Closed slavslavov closed 1 year ago

slavslavov commented 1 year ago

Seems like gcc 13 is more strict on missing include files. Just including them fixes the build.

halfgaar commented 1 year ago

I'll merge it in soon. However, even though it's only a couple of lines, but still asking: a license change to a more permissive one is coming up: the Open Software License 3.0. It should make it better for all concerned. Do you approve? If not, I would have to write the same lines myself, so ... :)

An announcement with explanation about the license will be posted.

slavslavov commented 1 year ago

Sorry, was away for a few days. I don't mind doing it either way, whichever is easiest for you. Maybe for simplicity just close the current PR and do it by yourself. I did it this way because it was easier to point the issues instead of explaining them in text.

halfgaar commented 1 year ago

I was going to merge it, but there was actually a merge conflict of a big block. I just repeated the change. The tests pass.

It's in master now, and a new tagged release will be made soon.

Now the real fix would be to include a build machine with GCC 13 in the CI...