mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 23:00:07 -06:00
@@ -82,7 +82,9 @@ cmList& cmList::filter(cm::string_view pattern, FilterMode mode)
|
||||
{
|
||||
cmsys::RegularExpression regex(std::string{ pattern });
|
||||
if (!regex.is_valid()) {
|
||||
throw std::invalid_argument(cmStrCat("invalid regex: ", pattern));
|
||||
throw std::invalid_argument(
|
||||
cmStrCat("sub-command FILTER, mode REGEX failed to compile regex \"",
|
||||
pattern, "\"."));
|
||||
}
|
||||
|
||||
auto it = std::remove_if(this->Values.begin(), this->Values.end(),
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@ Call Stack \(most recent call first\):
|
||||
CMP0121-ERANGE-WARN.cmake:2 \(include\)
|
||||
CMakeLists.txt:3 \(include\)
|
||||
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||
|
||||
.*
|
||||
CMake Error at CMP0121-ERANGE-Common.cmake:3 \(list\):
|
||||
list index: (-2147483643|2147483647) out of range \(-5, 4\)
|
||||
Call Stack \(most recent call first\):
|
||||
|
||||
Reference in New Issue
Block a user