chiark / gitweb /
meson: drop 'name' argument in cc.has_argument() (#8823)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 26 Apr 2018 08:53:10 +0000 (17:53 +0900)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit2934ecd6193be55dc11527b6cca0579699f95c95
treec5a35db372b237935f1522a39852e97e3ab414e3
parent0963ac80180a7dd22a8f1c00b336940aae195085
meson: drop 'name' argument in cc.has_argument() (#8823)

This fixes the following warning with clang and meson-0.46.0,
```
WARNING: Passed invalid keyword argument "name".
WARNING: This will become a hard error in the future.
WARNING: Passed invalid keyword argument "name".
WARNING: This will become a hard error in the future.
Compiler for C supports arguments -Wno-typedef-redefinition: YES
WARNING: Passed invalid keyword argument "name".
WARNING: This will become a hard error in the future.
WARNING: Passed invalid keyword argument "name".
WARNING: This will become a hard error in the future.
Compiler for C supports arguments -Wno-gnu-variable-sized-type-not-at-end: YES
```
meson.build