Skip to content

Commit 189282e

Browse files
jcfrusiems
authored andcommitted
vendor(simplecpp): Update PythonQt-specific patch to account for upstream changes
This commit updates simplecpp patch `do_not_stop_on_error.patch` to account for upstream changes introduced through the commit danmar/simplecpp@3911fdd ("fixed some `Variable copied when it could be moved` Coverity warnings (#495)", 2025-08-29)
1 parent a131983 commit 189282e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

generator/simplecpp/do_not_stop_on_error.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
diff --git generator/simplecpp/simplecpp.cpp generator/simplecpp/simplecpp.cpp
2-
index 3e9dda6c..ee8f7f7c 100644
3-
--- generator/simplecpp/simplecpp.cpp
4-
+++ generator/simplecpp/simplecpp.cpp
5-
@@ -3455,10 +3455,12 @@ void simplecpp::preprocess(simplecpp::TokenList &output, const simplecpp::TokenL
1+
diff --git a/generator/simplecpp/simplecpp.cpp b/generator/simplecpp/simplecpp.cpp
2+
index 84e4b54b..88cedd4e 100644
3+
--- a/generator/simplecpp/simplecpp.cpp
4+
+++ b/generator/simplecpp/simplecpp.cpp
5+
@@ -3391,10 +3391,12 @@ void simplecpp::preprocess(simplecpp::TokenList &output, const simplecpp::TokenL
66
err.msg = '#' + rawtok->str() + ' ' + err.msg;
7-
outputList->push_back(err);
7+
outputList->push_back(std::move(err));
88
}
99
+/* Patched for PythonQt generator: Do not stop on #error directive:
1010
if (rawtok->str() == ERROR) {

0 commit comments

Comments
 (0)