-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Jenkins] New warnings publisher syntax #2206
Conversation
All of the doxygen warnings are ignorable. There two types max_graph_nodes too small, and a warning in functional.h about recursion. |
It seems that filtering by warning message is not possible yet: https://github.com/jenkinsci/warnings-plugin/blob/master/doc/Documentation.md#filtering-issues Before we filtered the Doxygen warnings. ( |
92d103a
to
4b60808
Compare
One of the MSVC warnings ('void (__cdecl *volatile )(void)': top-level volatile in cast is ignored) could be potentially fixed by diff --git a/Applications/CLI/ogs_embedded_python.cpp b/Applications/CLI/ogs_embedded_python.cpp
index 2da7a23d1..39b6e3e28 100644
--- a/Applications/CLI/ogs_embedded_python.cpp
+++ b/Applications/CLI/ogs_embedded_python.cpp
@@ -28,7 +28,7 @@ PYBIND11_EMBEDDED_MODULE(OpenGeoSys, m)
template <typename T>
void mark_used(T p)
{
- volatile T vp = (volatile T)p;
+ volatile T vp = p;
vp = vp;
} but since I'm not able to use shared libraries with python, I cannot test its correctness. |
08da809
to
83c98bb
Compare
Another deprecated warning is the QVTKWidget, which is to be replaced with QVTKOpenGLWidget. vtkWidget->GetRenderWindow()->GetInteractor()->SetInteractorStyle(_interactorStyle);
`` |
83c98bb
to
4ec3f5d
Compare
@endJunction, that code is intended to capture static libs + Python. Is there a problem for you using shared libs and Python? |
@chleh Yes. See also #2184 (comment) . Let's continue the discussion there. I'll be in the office after lunch. |
The XmlPrjInterface needs the OGSError::box, which is part of the QtBase.
These warnings seems not to appear any longer.
The warning is issued by MSVC: Compiler Warning (level 3) C4197. type' : top-level volatile in cast is ignored
4ec3f5d
to
912c4b7
Compare
9bf003e
to
df657c0
Compare
df657c0
to
2518453
Compare
@endJunction Thanks for your fixes! |
OpenGeoSys development has been moved to GitLab. |
See https://jenkins.io/blog/2018/09/11/speaker-blog-warnings-plugin/
Provides a better overview over warnings. I suggest to