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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions