blob: 4906dfaa022d66a318693cba792699b4cda3a98c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
https://github.com/fluxbox/fluxbox/pull/78
From: Brahmajit Das <brahmajit.xyz@gmail.com>
Date: Tue, 16 May 2023 16:46:09 +0530
Subject: [PATCH] util/fbsetroot: Don't use register keyword
Register keyword has been deprecated since c++14 and completely removed
since c++17.
Encountered while building fluxbox with clang-16.
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
--- a/util/fbsetroot.cc
+++ b/util/fbsetroot.cc
@@ -224,7 +224,7 @@ void fbsetroot::modula(int x, int y) {
char data[32];
long pattern = 0;
- register int i;
+ int i;
FbRootWindow root(screen);
--
2.40.1
|