@b4n commented on this pull request.


>  EXTRA_DIST = \
        gnu_regex/README.txt
 
 libctags_la_LIBADD += libgnu_regex.la
-AM_CPPFLAGS += -I$(srcdir)/gnu_regex
+AM_CPPFLAGS += -I$(srcdir)/gnu_regex -D__USE_GNU

Funny one :)  It's a clash with the `__used` "attribute" I'd say.

Anyway, what about this instead, as we patch this old code anyway?
```diff
diff --git a/ctags/gnu_regex/regex.h b/ctags/gnu_regex/regex.h
index 213277215..12a5eca8a 100644
--- a/ctags/gnu_regex/regex.h
+++ b/ctags/gnu_regex/regex.h
@@ -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
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4228#discussion_r1943784192
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/4228/review/[email protected]>

Reply via email to