diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-08-13 08:30:11 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-08-13 08:31:46 +0300 |
commit | bef6d76ae8e63605ea59da03974dc2db9c81c543 (patch) | |
tree | 67dc193629475bc6c432b7fe671d2fcf47c7c872 /CMakeLists.txt | |
parent | 2a52263b8718527226fcff4bd3843270a85591d7 (diff) | |
download | bdwgc-bef6d76ae8e63605ea59da03974dc2db9c81c543.tar.gz |
Treat warnings as errors in C++ code if configure --enable-werror
When building with the automake scripts, pass -Werror option to the
compiler (if requested and supported) not only when compiling .c files
but also .cc ones.
* Makefile.am (AM_CXXFLAGS): Prepend $WERROR_CFLAGS.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions