• Jan Djärv's avatar
    Suppress some unhelpful warnings when using clang. · 8762e524
    Jan Djärv authored
    * configure.ac: With clang, check for and use -Wno-switch,
    -Wno-tautological-constant-out-of-range-compare and -Wno-pointer-sign.
    
    * conf_post.h(assume): Use __builtin_unreachable for clang.
    
    * src/filelock.c (lock_file_1): Rearrange to remove compiler warning
    about excess arguments to snprintf.
    8762e524
ChangeLog 229 KB