como icon indicating copy to clipboard operation
como copied to clipboard

minico fails to build with Clang 19

Open jbeich opened this issue 1 year ago • 0 comments

From error log:

$ export CC=clang CXX=clang++
$ cmake -G Ninja -B _build
$ cmake --build _build
[...]
In file included from examples/minico/main.cpp:7:
In file included from como/base/wayland/platform.h:15:
como/render/wayland/platform.h:255:19: error: no member named 'addRepaintFull' in 'platform<Base>'; did you mean 'addRepaint'?
  255 |             this->addRepaintFull();
      |                   ^~~~~~~~~~~~~~
      |                   addRepaint
como/render/wayland/platform.h:220:10: note: 'addRepaint' declared here
  220 |     void addRepaint(QRegion const& region)
      |          ^

Also affects theseus-ship. Downstream simply removed unlock() methods. Only lock() method is actually used: https://github.com/winft/como/blob/b5f18e92c2ce76d8640ada51a47638b3a003cee8/como/base/wayland/platform_helpers.h#L51-L53

jbeich avatar Oct 29 '24 14:10 jbeich