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

Build of 1.7.2 fails with gcc 13.1.1 #68

Closed slavslavov closed 9 months ago

slavslavov commented 9 months ago

Building 1.7.2 fails with gcc (GCC) 13.1.1 20230511 (Red Hat 13.1.1-2). The error is that std::string is used in globalstats.h but the <string> header is not included.

Simply including <string> fixes the issue

halfgaar commented 9 months ago

Fixed. Still a one-shot fix though. Github Actions does not seem to have Ubuntu's newer than 22.04 to test newer compiler versions.