]> git.lyx.org Git - lyx.git/commit
Use -Wno-deprecated-copy only when supported by compiler
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 13 Oct 2020 16:26:34 +0000 (18:26 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 13 Oct 2020 16:27:25 +0000 (18:27 +0200)
commit4aee447af1ab29d094e917b94ec3e3d4af36f1cd
treeed1e1c8c21a954bd53c2e25a0789b4ff50b84a66
parentc516c86d190852b030d17125dd476c1891755c09
Use -Wno-deprecated-copy only when supported by compiler

This is better than depending on compiler version. In particular,
Apple clang versions do not match regular clang versions.

Note that -Wno-deprecated-copy will always be used with g++, since
this compiler allows to suppress warnings it does not know about
(-Wno-zorg is valid, even though -Wzorg triggers an error).
config/lyxinclude.m4
m4/ax_check_compile_flag.m4 [new file with mode: 0644]