logiops icon indicating copy to clipboard operation
logiops copied to clipboard

Add include <algorithm> to fix building with gcc 14

Open kostadinsh opened this issue 1 year ago • 1 comments

With gcc 14 some C++ Standard Library headers have been changed to no longer include other headers that were being used internally by the library. In logiops's case it is the <algorithm> header.

Downstream Gentoo bug

GCC 14 porting guide

kostadinsh avatar Nov 07 '23 17:11 kostadinsh

Same problem for fedora 40 (rawhide): https://bugzilla.redhat.com/show_bug.cgi?id=2261353

deamn avatar Feb 04 '24 16:02 deamn

Sorry it took me so long to review this, I've been quite busy recently. Will merge this if it fixes building on all systems.

PixlOne avatar May 28 '24 02:05 PixlOne