| Summary: |
Compiling the git-source For Kwayland Server Throws Clang Error: "Only virtual member functions can be marked 'override' " |
| Product: |
[Frameworks and Libraries] kwayland
|
Reporter: |
nekonexus |
| Component: |
server | Assignee: |
Martin Flöser <mgraesslin> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
normal
|
CC: |
kwin-bugs-null
|
| Priority: |
NOR
|
Keywords: |
wayland-only |
| Version First Reported In: |
unspecified | |
|
| Target Milestone: |
--- | |
|
| Platform: |
Compiled Sources | |
|
| OS: |
Linux | |
|
|
Latest Commit:
|
|
Version Fixed/Implemented In:
|
|
|
Sentry Crash Report:
|
|
| |
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