[vlc-devel] [vlc-commits] m4: fix C11 tests for FreeBSD/clang.
Steve Lhomme
robux4 at gmail.com
Tue Oct 4 16:02:28 CEST 2016
On Tue, Oct 4, 2016 at 3:01 PM, Konstantin Pavlov <git at videolan.org> wrote:
> vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Tue Oct 4 15:36:58 2016 +0300| [0946ea9f3ce8c7bfbd78b313aa1442fad2b051ed] | committer: Konstantin Pavlov
>
> m4: fix C11 tests for FreeBSD/clang.
Did you mean C++11 ?
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0946ea9f3ce8c7bfbd78b313aa1442fad2b051ed
> ---
>
> m4/stdcxx_11.m4 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/m4/stdcxx_11.m4 b/m4/stdcxx_11.m4
> index 98e7103..59df0a0 100644
> --- a/m4/stdcxx_11.m4
> +++ b/m4/stdcxx_11.m4
> @@ -90,7 +90,7 @@ m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[
> constexpr uint64_t constant_u64 = UINT64_C(0x100000000);
> constexpr unsigned constant_lim = UINT_MAX;
> const char *constant_fmt = "%" PRIu64, *constant_scn = "%" SCNu64;
> - constexpr size_t constant_align = alignof (max_align_t);
> + constexpr size_t constant_align = alignof (std::max_align_t);
> ]])
>
> AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [dnl
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits
More information about the vlc-devel
mailing list