C23 has qualifier-preserving standard library functions, so calling strchr with a `const char *` will return a `const char *`. We can change the type of the local variables because we don't mutate the strings.etienne (Étienne Barrié)
When checking whether CXXFLAGS is valid, we try to compile with a stdio include which causes a warning. This does the same when we check whether "-fdeclspec" can be used, that way the flag is not added if it would lead to a warning later.etienne (Étienne Barrié)
Instead of using %{} which works like double-quoted string and allows escape sequences and in which "other escaped characters (a backslash followed by a character) are interpreted as the character", change the examples for `allow_invalid...etienne (Étienne Barrié)
Applied in changeset commit:git|d256629bf9e194838d1837be74dcc0b8ff0bcfd6. ---------- [Bug #19831] Remove duplicate library warning When building on macOS, we get a warning about duplicate libraries ld: warning: ignoring duplicate ...etienne (Étienne Barrié)
When building on macOS, we get a warning about duplicate libraries ld: warning: ignoring duplicate libraries: '-ldl', '-lobjc', '-lpthread' To fix it, we now append $(MAINLIBS) to LIBRUBYARG_SHARED (when shared is enabled), matchin...etienne (Étienne Barrié)