https://bugs.kde.org/show_bug.cgi?id=444868

            Bug ID: 444868
           Summary: Compiling the git-source For Kwayland Server Throws
                    Clang Error: "Only virtual member functions can be
                    marked 'override' "
           Product: frameworks-kwayland
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: server
          Assignee: mgraess...@kde.org
          Reporter: nekone...@protonmail.ch
                CC: kwin-bugs-n...@kde.org
  Target Milestone: ---

SUMMARY

Compiling Kwayland-server via git with the AUR, with Clang configured as the
toolchain, throws a compilation error when built in a chroot:

```
/build/kwayland-server-git/src/kwayland-server/src/server/screencast_v1_interface.cpp:105:78:
error: only virtual member functions can be marked 'override'
                                                           uint32_t pointer)
override
                                                                            
^~~~~~~~
[ 47%] Building CXX object
src/server/CMakeFiles/KWaylandServer.dir/textinput_v3_interface.cpp.o
1 error generated.
```

STEPS TO REPRODUCE
1. Git clone the server source
2. Attempt to compile it with clang
3. Wait for the compilation error

OBSERVED RESULT

Kwayland-server fails to compile

EXPECTED RESULT

Kwayland-server should be able to compile with Clang

SOFTWARE/OS VERSIONS

Linux Distro: Arch Linux
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to