diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-11-25 14:04:12 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-11-25 17:20:00 +0100 |
commit | ac2b3c339ee47497365066754e9937aba2cca700 (patch) | |
tree | 1901eaf4ddcf7f13badf8aed94e26612b637136d /sw/source | |
parent | e2378e0074c35fa5b7980f8202ca137c518e399b (diff) |
GCC 15 trunk now defaults to C23, where bool is a keyword
...so the existing C code started to fail with
> In file included from workdir/UnpackedTarball/mariadb-connector-c/libmariadb/ma_alloc.c:20:
> workdir/UnpackedTarball/mariadb-connector-c/include/ma_global.h:687:25: error: two or more data types in declaration specifiers
> 687 | typedef char bool; /* Ordinary boolean values 0 1 */
> | ^~~~
(And the !defined(HAVE_BOOL) there, always being true, apparently started to get
in the way now and thus needed to be removed, whatever its original purpose.)
Change-Id: I781458d643e01a7199e19a178da3a32520d16b34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177260
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'sw/source')
0 files changed, 0 insertions, 0 deletions