server-skynet-source-3rd-je.../scripts
Kevin Svetlitski 5711dc31d8 Only enable -Wstrict-prototypes in CI to unbreak feature detection
Adding `-Wstrict-prototypes` to the default `CFLAGS` in PR #2473 had the
non-obvious side-effect of breaking configure-time feature detection,
because the [test-program `autoconf` generates for feature
detection](https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Generating-Sources.html#:~:text=main%20())
defines `main` as:
```c
int main()
```
Which causes all feature checks to fail, since this triggers
`-Wstrict-prototypes` and the feature checks use `-Werror`.

Resolved by only adding `-Wstrict-prototypes` to
`EXTRA_{CFLAGS,CXXFLAGS}` in CI, since these flags are not used during
feature detection and we control which compiler is used.
2023-07-06 18:03:13 -07:00
..
freebsd Add FreeBSD to TravisCI 2022-03-29 11:58:27 -07:00
linux Add Windows to TravisCI 2022-01-26 10:16:57 -08:00
windows Add Windows to TravisCI 2022-01-26 10:16:57 -08:00
check_trailing_whitespace.sh Remove trailing whitespace 2023-06-23 11:58:18 -07:00
check-formatting.sh Add a script to check for clang-formattedness. 2020-10-02 14:49:56 -07:00
gen_run_tests.py Port gen_run_tests.py to python3 2021-08-13 10:59:32 -07:00
gen_travis.py update travis 2022-07-19 13:23:08 -07:00
run_static_analysis.sh Only enable -Wstrict-prototypes in CI to unbreak feature detection 2023-07-06 18:03:13 -07:00