Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Wed, 05 Feb 2025 23:45:21 UTC Commit: 1966593193dffdd3d4c908b6fea42bffd7318c66 https://github.com/geany/geany/commit/1966593193dffdd3d4c908b6fea42bffd7318c...
Log Message: ----------- Fix clang warning in regex.h
Without this patch, clang generates warnings like the below because of the clash with the __used attribute:
./gnu_regex/regex.h:367:3: warning: declaration does not declare anything [-Wmissing-declarations] 367 | unsigned long int __REPB_PREFIX(used); | ^~~~~~~~~~~~~~~~~ CC optlib/meson.lo
Patch provided by Colomban Wendling, thanks!
Modified Paths: -------------- ctags/gnu_regex/regex.h
Modified: ctags/gnu_regex/regex.h 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -350,7 +350,7 @@ typedef enum #ifdef __USE_GNU # define __REPB_PREFIX(name) name #else -# define __REPB_PREFIX(name) __##name +# define __REPB_PREFIX(name) __priv_##name #endif
struct re_pattern_buffer
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).