/builddir/build/BUILD/hyprtoolkit-0.5.3-build/hyprtoolkit-0.5.3/src/palette/ConfigManager.cpp:144:96: error: ‘NAME_MAX’ was not declared in this scope
144 | constexpr size_t BUFFER_SIZE = sizeof(inotify_event) + NAME_MAX + 1;
| ^~~~~~~~
/builddir/build/BUILD/hyprtoolkit-0.5.3-build/hyprtoolkit-0.5.3/src/palette/ConfigManager.cpp:146:103: error: request for member ‘data’ in ‘buffer’, which is of non-class type ‘int’
146 | const ssize_t bytesRead = read(m_inotifyFd.get(), buffer.data(), buffer.size());
| ^~~~
/builddir/build/BUILD/hyprtoolkit-0.5.3-build/hyprtoolkit-0.5.3/src/palette/ConfigManager.cpp:146:118: error: request for member ‘size’ in ‘buffer’, which is of non-class type ‘int’
146 | const ssize_t bytesRead = read(m_inotifyFd.get(), buffer.data(), buffer.size());
| ^~~~
/builddir/build/BUILD/hyprtoolkit-0.5.3-build/hyprtoolkit-0.5.3/src/palette/ConfigManager.cpp:151:58: error: request for member ‘data’ in ‘buffer’, which is of non-class type ‘int’
151 | const auto* ev = rc<const inotify_event*>(buffer.data() + offset);
| ^~~~
I'm assuming this means the compiler got smarter and more picky.
I just tried building 0.5.3 on fedora rawhide and got the following errors:
I'm assuming this means the compiler got smarter and more picky.