[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect work AX_CHECK_COMPILE_FLAG with clang

From: Illia Iorin
Subject: Re: Incorrect work AX_CHECK_COMPILE_FLAG with clang
Date: Fri, 19 Oct 2018 17:27:19 +0300

Hello, maybe i don't provide enough information for attention. If i can
somehow help you with information about this issue. Let me know.  Or please
redirect me to needed mailing thread.
More information about reproducing you can find in bugzilla.
BR Illia.

On Mon, Oct 8, 2018 at 6:40 PM Illia Iorin <address@hidden> wrote:

> When I build dev-version of mesa 3d(graphics APIs) These warning messages
> are appearing with clang.
> warning: unknown warning option '-Wno-format-truncation'
> [-Wunknown-warning-option]
> They have appeared after we have added this command to our autoconf file.
> AX_CHECK_COMPILE_FLAG([-Wformat-truncation], [CFLAGS="$CFLAGS
> -Wno-format-truncation"])
> This command works correct with gcc and g++ but with clang and clang++
> this flag is added though they don't support this flag. Does autoconf have
> full clang support or autoconf has well known workaround?. Link to autoconf
> file:
> https://gitlab.freedesktop.org/mesa/mesa/blob/master/configure.ac#L310

reply via email to

[Prev in Thread] Current Thread [Next in Thread]