1. 25 Apr, 2018 2 commits
    • Martin Storsjö's avatar
      configure: Don't explicitly add -ladvapi32 to linker flags · 4319ab8d
      Martin Storsjö authored
      This flag was originally not added because of crypto functions,
      but together with -lssp in 460879.
      Advapi32 is one of the libs that are automatically linked in by
      the mingw compiler/linker driver.
      Adding it manually here causes issues with linking libupnp_plugin.la
      with lld. Libupnp contains md5 functions, and advapi32 also contains
      functions with the same names. If -ladvapi32 is specified early in the
      link command, before -lupnp, the conflicts arise. (The same conflicts
      don't occur with binutils ld though, since it searches libraries
      in a slightly different order than lld.)
      The conflict can be avoided by fixing one inconsistency in mingw-w64
      though, but then libupnp will use MD5 functions from advapi32.dll
      (with an ABI not guaranteed to match the ones it expected) instead
      of the ones bundled in libupnp.
    • Martin Storsjö's avatar
      configure: Don't make the crypt/bcrypt libs dependent of libssp · fa6ce242
      Martin Storsjö authored
      These should still be added if ssp is disabled.
  2. 12 Apr, 2018 2 commits
  3. 10 Apr, 2018 1 commit
  4. 09 Apr, 2018 1 commit
  5. 28 Mar, 2018 1 commit
  6. 25 Mar, 2018 1 commit
  7. 20 Mar, 2018 1 commit
  8. 18 Mar, 2018 2 commits
  9. 16 Mar, 2018 3 commits
  10. 07 Mar, 2018 1 commit
  11. 06 Mar, 2018 1 commit
  12. 28 Feb, 2018 4 commits
    • Martin Storsjö's avatar
      configure: Check if C++ headers define locale_t · 797efbd4
      Martin Storsjö authored
      In environments that lack a full locale.h implementation, the C++
      headers might implement some fallbacks with the same name
      (on windows, libcxx does this).
      In these cases, don't provide the normal fallbacks from vlc_fixups.h
      when compiling in C++ mode, but include the C++ <locale> header instead.
      If <locale> provides locale_t, include the header and define
      HAVE_NEWLOCALE (which skips the vlc_fixups.h version of locale_t),
      but keep the vlc_fixups.h fallback for uselocale. (One could
      also add another configure test for whether <locale> provides
      the uselocale function.)
      (libcxx doesn't provide any fallback for the uselocale function
      since it isn't easily implemented with the msvcrt _locale_t objects.
      The libcxx fallback locale_t objects are applied via the setlocale
      function, and passed to functions that take a _locale_t parameter.)
    • Hugo Beauzée-Luyssen's avatar
    • Martin Storsjö's avatar
      configure: Check if the support library for stack protectors is available · e43da3c8
      Martin Storsjö authored
      Clang does support the -fstack-protector-strong flag, but that
      in itself doesn't mean that the required support library actually
    • Martin Storsjö's avatar
      configure: Try to add -Wno-incompatible-ms-struct if adding -mms-bitfields · 89707bdd
      Martin Storsjö authored
      This avoids warnings that are treated as errors by default when building
      with clang - warnings like these:
      In file included from modules/access/dcp/dcp.cpp:59:
      In file included from contrib/x86_64-w64-mingw32/include/AS_DCP.h:88:
      In file included from contrib/x86_64-w64-mingw32/include/KM_fileio.h:35:
      contrib/x86_64-w64-mingw32/include/KM_util.h:48:11: error: ms_struct may not produce Microsoft-compatible layouts for classes with base classes or virtual functions [-Wincompatible-ms-struct]
          class IntPrinter : public std::string
  13. 26 Feb, 2018 1 commit
  14. 25 Feb, 2018 1 commit
  15. 22 Feb, 2018 1 commit
  16. 21 Feb, 2018 2 commits
  17. 20 Feb, 2018 2 commits
  18. 14 Feb, 2018 1 commit
  19. 12 Feb, 2018 2 commits
  20. 11 Feb, 2018 1 commit
  21. 09 Feb, 2018 1 commit
  22. 02 Feb, 2018 3 commits
  23. 13 Jan, 2018 1 commit
  24. 12 Jan, 2018 1 commit
  25. 08 Jan, 2018 1 commit
    • KO Myung-Hun's avatar
      configure: check and define if_nametoindex() on OS/2 · ebcbb4d8
      KO Myung-Hun authored
      This fixes the following compilation breakge on OS/2.
        CC       network/udp.lo
      network/udp.c: In function 'net_SetMcastOut':
      network/udp.c:259:17: error: implicit declaration of function 'if_nametoindex'; did you mean 'if_nameindex'? [-Werror=implicit-function-declaration]
           int scope = if_nametoindex (iface);
      Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
  26. 04 Jan, 2018 1 commit
  27. 01 Jan, 2018 1 commit