]> Kevux Git Server - rit/commit
Merge branch 'dl/posix-unused-warning-clang'
authorJunio C Hamano <gitster@pobox.com>
Wed, 17 Jun 2026 18:10:12 +0000 (11:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Jun 2026 18:10:12 +0000 (11:10 -0700)
commit619931f5619565820c031f3398d2443bffb1c9d0
tree5a0fbc0bbaf30b04e7a560301cd999f08a454fcc
parent621962aa7a96eb122877c05dc1305c8f99fc5b46
parentcf48887610da108a3fbc97645e2d2ba2e7178ad0
Merge branch 'dl/posix-unused-warning-clang'

The UNUSED macro in 'compat/posix.h' has been updated to use a
newly introduced GIT_CLANG_PREREQ macro for compiler version
checks, and the existing GIT_GNUC_PREREQ macro has been modernized
to use explicit major/minor comparisons rather than bit-shifting.

* dl/posix-unused-warning-clang:
  compat/posix.h: simplify GIT_GNUC_PREREQ() comparison
  compat/posix.h: clean up GIT_GNUC_PREREQ() and UNUSED
  compat/posix.h: enable UNUSED warning messages for Clang