diff options
| author | fanquake <[email protected]> | 2020-05-05 15:20:49 +0800 |
|---|---|---|
| committer | fanquake <[email protected]> | 2020-07-15 17:50:01 +0800 |
| commit | 6cef3652d143a1dddad1254cab0953561d24c1fa (patch) | |
| tree | 052f22fdba3be842e5f9aa1aa1c2a5c9cefdd68a /src/script/script_error.cpp | |
| parent | Merge #19491: util: Make Assert work with any value (diff) | |
| download | discoin-6cef3652d143a1dddad1254cab0953561d24c1fa.tar.xz discoin-6cef3652d143a1dddad1254cab0953561d24c1fa.zip | |
build: fix -Wformat-security check when compiling with GCC
Debian GCC ignores -Wformat-security, without -Wformat, which
means when we test for it, it currently fails:
```bash
checking whether C++ compiler accepts -Wformat-security... no
...
configure:15907: checking whether C++ compiler accepts -Wformat-security
configure:15926: g++ -std=c++11 -c -g -O2 -Werror -Wformat-security conftest.cpp >&5
cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
cc1plus: all warnings being treated as errors
```
Fix this by just combining the -Wformat and -Wformat-security checks
together.
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions