Ok, I made a script to grep all the
#define
and#undef
symbols inconfig.h
and Geany appears to be fairly careful usingifdef
ifndef
ordefined()
,
Good :)
Scintilla has at least one place where it compares a symbol to 0, but I think its its own internal one so fine.
Fine as well.
But ctags!!!!
if HAVE_FOO && HAVE_BAR && HAVE_BLETCH
all over the place. This relies on the identifiers having been defined1
or it would becomeif && &&
after the defined but empty identifiers were substituted. Sigh!!!
Feel like making a PR upstream? :)
So I guess we have no choice but to continue defining
1
until C23 whentrue
will be accepted :-)
Well meson would just emit an empty #define FOO
if you use cfg_data.set('FOO', true)
-- e.g. when using a boolean, it emits either an empty #define
or a #undef
. So kinda irrelevant :)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.