diff options
author | makise-homura <akemi_homura@kurisa.ch> | 2022-07-06 16:54:30 (GMT) |
---|---|---|
committer | makise-homura <akemi_homura@kurisa.ch> | 2022-07-06 19:43:49 (GMT) |
commit | 28b1c5f9b3cde00c88b7729b96613ff0e51132d9 (patch) | |
tree | 06060d8d523b576e9358ea55b0f1b6f732db2ad5 /Tests/Simple | |
parent | ad2e7f3c537dc88ea8140bab67c43d25695637f1 (diff) | |
download | CMake-28b1c5f9b3cde00c88b7729b96613ff0e51132d9.zip CMake-28b1c5f9b3cde00c88b7729b96613ff0e51132d9.tar.gz CMake-28b1c5f9b3cde00c88b7729b96613ff0e51132d9.tar.bz2 |
LCC: get rid of excess -Wunused-but-set-variable on release builds
LCC, as of 1.26, has a buggy EDG frontend that emits
-Wunused-but-set-variable warning even if there's something
like "(void)var" when frontend optimizations are enabled (>=-O1).
To get rid of this warning, we disable it in CMake's root
CMakeLists.txt for LCC >= 1.26. Later, when this bug will be fixed
in LCC, this version check will have its top version limit.
Diffstat (limited to 'Tests/Simple')
0 files changed, 0 insertions, 0 deletions