Skip to content

lib: prefix macros UNUSED and FALLTHROUGH#7309

Open
nilason wants to merge 2 commits intoOSGeo:mainfrom
nilason:fix_prefix_macros
Open

lib: prefix macros UNUSED and FALLTHROUGH#7309
nilason wants to merge 2 commits intoOSGeo:mainfrom
nilason:fix_prefix_macros

Conversation

@nilason
Copy link
Copy Markdown
Contributor

@nilason nilason commented Apr 13, 2026

Prefix the preprocessing macros UNUSED and FALLTHROUGH with G_ to avoid conflicts with third party software.

This is something I have long planned to do. For example, there was an issue for QGIS, which they solved in qgis/QGIS#55018; one of the addons was also affected OSGeo/grass-addons#1626.

@nilason nilason added this to the 8.5.0 milestone Apr 13, 2026
@nilason nilason added the backport to 8.5 PR needs to be backported to release branch 8.5 label Apr 13, 2026
@github-actions github-actions bot added vector Related to vector data processing raster Related to raster data processing C Related code is in C C++ Related code is in C++ database Related to database management libraries module display imagery raster3d misc labels Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to 8.5 PR needs to be backported to release branch 8.5 C Related code is in C C++ Related code is in C++ database Related to database management display imagery libraries misc module raster Related to raster data processing raster3d vector Related to vector data processing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant