[GRASS-git] [OSGeo/grass] 89a831: CQ: always include stdbool.h if bool is used in C ...
Nicklas Larsson
noreply at github.com
Tue May 6 14:46:04 PDT 2025
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 89a831d00e92d902b891ca5572d80d18d1f5dc08
https://github.com/OSGeo/grass/commit/89a831d00e92d902b891ca5572d80d18d1f5dc08
Author: Nicklas Larsson <n_larsson at yahoo.com>
Date: 2025-05-06 (Tue, 06 May 2025)
Changed paths:
M general/g.region/main.c
M include/grass/defs/raster.h
M include/grass/defs/vector.h
M include/grass/gis.h
M lib/gis/mapset_msc.c
M lib/gis/parser_md_python.c
M lib/raster/mask_info.c
M lib/raster/raster_metadata.c
M lib/rst/interp_float/init2d.c
M raster/r.horizon/main.c
M raster/r.kappa/print_json.c
M raster/r.mask.status/main.c
M raster/r.out.gdal/attr.c
M raster/r.series/main.c
M raster/r.slope.aspect/main.c
M raster/r.sun/main.c
M raster/r.sun/sunradstruct.h
M raster/r.thin/thin_lines.c
M raster/r.volume/main.c
M vector/v.db.select/main.c
M vector/v.fill.holes/main.c
M vector/v.hull/chull.c
M vector/v.surf.rst/main.c
Log Message:
-----------
CQ: always include stdbool.h if bool is used in C code (#5618)
Always `#include <stdbool.h>` where `bool` is used i C code.
For the same reason, revert (part of 1e0c11f526f64755f877957ce6c14b2159c3823f)
definition of `TRUE` and `FALSE` (in gis.h) to `1` and `0`, in order to
avoid the inclusion everywhere it may/should have been needed. In addition,
starting with C23 `bool` is not an int, but a type of its own, making it
not interchangeable with int.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list