Skip to content

minico fails to build with Clang 19 #29

Description

@jbeich

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:

// Block compositor to prevent further compositing from crashing with a null workspace.
// TODO(romangg): Instead we should kill the compositor before that or remove all outputs.
platform.mod.render->lock();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions