1. 21 May, 2022 1 commit
    • Alexandre Janniaux's avatar
      vlc_fixup: fix usage of typeof from C++ · bd8f233b
      Alexandre Janniaux authored and Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen committed
      Replace typeof by a decltype()-based equivalent on compilers not
      supporting typeof.
      
      Decltype is not equivalent to typeof, but we are mostly concerned about
      removing references from the type, since it has no use in C code like
      VLC list.
      
      Note that this fixup is there to fix the usage of headers using typeof
      in C++ code, not to provide "typeof" directly C++ to replace decltype.
      bd8f233b
  2. 23 Feb, 2022 1 commit
  3. 16 Sep, 2021 1 commit
  4. 12 Sep, 2021 1 commit
  5. 05 Sep, 2021 1 commit
  6. 15 Oct, 2020 1 commit
  7. 14 Aug, 2020 1 commit
  8. 30 Jun, 2020 1 commit
    • Alexandre Janniaux's avatar
      compat: tfind: fix prototype · e1c1eac1
      Alexandre Janniaux authored
      Use prototype from tsearch(3), fixes the following warning when
      targetin Android arm API 17.
      
      ../../src/misc/variables.c:154:32: warning: passing 'void **' to
      parameter of type 'const void **' discards qualifiers in nested
      pointer types [-Wincompatible-pointer-types-discards-qualifiers]
      
          pp_var = tfind( &psz_name, &priv->var_root, varcmp );
                                     ^~~~~~~~~~~~~~~
      e1c1eac1
  9. 05 Jun, 2020 1 commit
    • Steve Lhomme's avatar
      configure: check if if_nametoindex is available on Windows · 424e8991
      Steve Lhomme authored
      It may link with iphlpapi but be forbidden in UWP.
      
      This test relies on the fact that -Werror-implicit-function-declaration works
      in the compiler. And that's why it's done after it's enabled.
      
      It's only used for the --miface option to set the preferred multicast interface.
      424e8991
  10. 24 Mar, 2020 3 commits
  11. 26 Jul, 2019 1 commit
  12. 19 Jul, 2019 1 commit
  13. 22 Jan, 2019 1 commit
  14. 20 Nov, 2018 2 commits
    • Rémi Denis-Courmont's avatar
      compat: replace qsort_r() where missing · 5ffb9dfe
      Rémi Denis-Courmont authored
      This should sort properly on Windows and any other platform without
      qsort_r(). It does _not_ fix any potential issues on any platforms with
      an incompatible qsort_r() prototype (such as FreeBSD < 13).
      5ffb9dfe
    • Rémi Denis-Courmont's avatar
      win32: remove incorrect aliasing · 941d3f87
      Rémi Denis-Courmont authored
      Win32 qsort_s() is _not_ equivalent to POSIX.next/GNU qsort_r().
      The order of arguments to the comparison callbacks differ.
      
      This would cause a compile-time warning and a crash at run-time.
      This change will break the build instead; this will be fixed later.
      941d3f87
  15. 18 Nov, 2018 1 commit
  16. 15 Nov, 2018 1 commit
  17. 23 Oct, 2018 2 commits
  18. 12 Apr, 2018 2 commits
  19. 28 Feb, 2018 1 commit
    • 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.)
      797efbd4
  20. 25 Feb, 2018 1 commit
  21. 22 Feb, 2018 1 commit
  22. 20 Feb, 2018 2 commits
  23. 08 Jan, 2018 1 commit
  24. 05 Dec, 2017 3 commits
  25. 12 Oct, 2017 1 commit
  26. 22 Jun, 2017 1 commit
  27. 17 Jun, 2017 1 commit
  28. 15 Jun, 2017 1 commit
  29. 31 Mar, 2017 1 commit
  30. 29 Mar, 2017 1 commit
  31. 28 Mar, 2017 2 commits