diff options
| author | Kirill Primak <vyivel@eclair.cafe> | 2024-06-29 15:05:00 +0300 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-08-09 20:25:11 +0000 |
| commit | a6a4e081da12140ffe1881d83be0981966ba6daf (patch) | |
| tree | e9378ea95e2bcf7965fbd12a24ba7f5f8d5f7876 /tests/cpp-compile-test.cpp | |
| parent | client: Handle proxies with no queue (diff) | |
| download | wayland-a6a4e081da12140ffe1881d83be0981966ba6daf.tar wayland-a6a4e081da12140ffe1881d83be0981966ba6daf.tar.gz wayland-a6a4e081da12140ffe1881d83be0981966ba6daf.tar.bz2 wayland-a6a4e081da12140ffe1881d83be0981966ba6daf.tar.lz wayland-a6a4e081da12140ffe1881d83be0981966ba6daf.tar.xz wayland-a6a4e081da12140ffe1881d83be0981966ba6daf.tar.zst wayland-a6a4e081da12140ffe1881d83be0981966ba6daf.zip | |
Put WL_DEPRECATED in front of the function declarations
This fixes the following clang error when using C23:
../src/wayland-server-core.h:680:41: error: 'deprecated' attribute cannot be applied to types
680 | int32_t stride, uint32_t format) WL_DEPRECATED;
| ^
../src/wayland-util.h:52:25: note: expanded from macro 'WL_DEPRECATED'
52 | #define WL_DEPRECATED [[deprecated]]
| ^
Signed-off-by: Kirill Primak <vyivel@eclair.cafe>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
