[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 1 11:55:58 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108082

--- Comment #4 from Eric Engestrom <fdo-bugs at engestrom.ch> ---
(In reply to Illia from comment #3)
> I've wrote workaround for
> this issue which  hides the problem, until  this problem will be fixed  in
> autoconf.

You can't have any logic based on the value of $CC (or $CXX), because `gcc`
might be a symlink to `clang` (as is the case by default on MacOS for instance,
but I've seen it on Linux as well), and users also use it to add compiler
flags.

As for the issue, do you guys see the same warning for any other -Wno-foo from
our list?
I'm 90% sure this is NOTOURBUG as we're already doing all the checks needed,
but I want to figure out if it's clang or autotools going bad.

Vinson, can you also try meson on your system? It would help narrow down the
issue.

(I've also checked that there's no typo in the configure.ac check, just in
case, and there isn't)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181001/cc8fd41c/attachment-0001.html>


More information about the mesa-dev mailing list