summaryrefslogtreecommitdiffstats
path: root/CTestCustom.ctest.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-29 20:35:15 (GMT)
committerBrad King <brad.king@kitware.com>2010-12-29 20:35:15 (GMT)
commitdbc79bd8c8d5b9ef078401064db9bb0554affbcf (patch)
treee5768d3694b94ab7752c2229683133cb57c7d79c /CTestCustom.ctest.in
parent63d21c1f8efeb2f2337221119c479d75bbb0b7c0 (diff)
downloadCMake-dbc79bd8c8d5b9ef078401064db9bb0554affbcf.zip
CMake-dbc79bd8c8d5b9ef078401064db9bb0554affbcf.tar.gz
CMake-dbc79bd8c8d5b9ef078401064db9bb0554affbcf.tar.bz2
Fix constness in compiler id detection
Since commit 70c2dc8a (Make compiler id detection more robust, 2008-03-10) we store compiler identification strings in test binaries using the form char* info = "info"; Use the const-correct char const* info = "info"; form instead. This allows the C++ compiler identification to work with "-Werror -Wall" or equivalent flags if the compiler would warn about const-to-non-const conversion.
Diffstat (limited to 'CTestCustom.ctest.in')
0 files changed, 0 insertions, 0 deletions