view ci/config.mk.clang-12.sed @ 32617:c4a8763eeb5d v9.0.1640

patch 9.0.1640: compiler warning for unused variables without crypt feature Commit: https://github.com/vim/vim/commit/7f29122c8ce2ca224d21abbaeb35e38bc354d95d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 17 16:19:30 2023 +0100 patch 9.0.1640: compiler warning for unused variables without crypt feature Problem: Compiler warning for unused variables without the crypt feature. Solution: Adjust #ifdefs
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Jun 2023 17:30:03 +0200
parents fccd67ae58c8
children 9b35b4c6df4c
line wrap: on
line source

# Clang 12 (or Apple clang 13) and later makes a warning '-Wcompound-token-split-by-macro' enable by default.
/^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/
/^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/