Skip to content
  • Tim Rühsen's avatar
    Introduce nullability support for clang's static analyzer · c3075a1e
    Tim Rühsen authored
    * configure.ac: Add -Wno-nullability-extension -Wno-nullability-completeness to WARN_CFLAGS
    * include/wget/wget.h: Add CLANG_VERSION_AT_LEAST,
      fix attribute defines for clang,
      make use of attributes by using static inline functions for wget allocation,
      define NULLABLE for clang
    * libwget/xalloc.c: Rename wget allocation function pointers
    * src/options.c: Likewise
    * unit-tests/test.c: Likewise
    c3075a1e
Validating GitLab CI configuration… Learn more