summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderDirectories.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-23 18:17:22 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-23 18:17:22 (GMT)
commit68eabb357616f7ef469b20dd8d9cb8ce588e113d (patch)
tree809ee6f6815416a9d6fda918f6b71a298f19a056 /Source/cmOrderDirectories.h
parenta7f5cd45e135dd51d67176fc40e2d769ac5f7db8 (diff)
downloadCMake-68eabb357616f7ef469b20dd8d9cb8ce588e113d.zip
CMake-68eabb357616f7ef469b20dd8d9cb8ce588e113d.tar.gz
CMake-68eabb357616f7ef469b20dd8d9cb8ce588e113d.tar.bz2
Avoid -Wstring-plus-int warning
In `cmState::GetGlobalProperty` we use a macro to produce a string of the form ";a;b;c" and want to return "a;b;c" by skipping the leading ";". Switch from pointer arithmetic to indexing+addressing to silence the "warning: adding 'int' to a string does not append to the string" diagnostic from Clang.
Diffstat (limited to 'Source/cmOrderDirectories.h')
0 files changed, 0 insertions, 0 deletions