Re: [PATCH] Config.mk: drop -Wdeclaration-after-statement

2023-12-04 Thread Alexander Kanavin
up all over the userspace stack. -- Alexander Kanavin Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen Phone: +49 7556 25 999 39; Fax.: +49 7556 25 999 99 Hinweise zum Datenschutz finden Sie hier (Informations on data privacy can be found here): https://linutronix.de/legal/data

Re: [PATCH] Config.mk: drop -Wdeclaration-after-statement

2023-11-29 Thread Alexander Kanavin
On 11/29/23 08:51, Jan Beulich wrote: On 28.11.2023 18:47, Alexander Kanavin wrote: Such constructs are fully allowed by C99: https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Mixed-Labels-and-Declarations.html#Mixed-Labels-and-Declarations There's more to this: It may also be a policy of

[PATCH] Config.mk: drop -Wdeclaration-after-statement

2023-11-28 Thread Alexander Kanavin
s and code [-Werror=declaration-after-statement] | 121 | Py_ssize_t sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK); | | ^~ | cc1: all warnings being treated as errors Signed-off-by: Alexander Kanavin --- Config.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/

Re: [PATCH] tools/xenstore/xenstored_control.c: correctly print time_t

2023-04-19 Thread Alexander Kanavin
   ret ? : "Domains with long running transactions:", - conn->id, - now - conn->ta_start_time); + conn->id, tdiff);     }     } T

[PATCH v2] tools/xenstore/xenstored_control.c: correctly print time_t

2023-04-19 Thread Alexander Kanavin
e 'time_t' {aka 'long long int'} [-Werror=format=] Signed-off-by: Alexander Kanavin --- tools/xenstore/xenstored_control.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/xenstore/xenstored_control.c b/tools/xenstore/xenstored_control.c index

[PATCH] tools/xenstore/xenstored_control.c: correctly print time_t

2023-04-12 Thread Alexander Kanavin
e 'time_t' {aka 'long long int'} [-Werror=format=] Signed-off-by: Alexander Kanavin --- tools/xenstore/xenstored_control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/xenstore/xenstored_control.c b/tools/xenstore/xenstored_control.c index