Open AnHeuermann opened 2 years ago
The solution for the second error is to just remove the assignment operator in float33s.inc
, because the class doesn't need it and it it breaks the rule of three. It's a third party library though, so it might be that it should be updated to a never version instead of fixing it on our side.
I think I found the error for the first warning: https://github.com/OpenModelica/OMSimulator/blob/master/Makefile#L131
@perost Do you know where the 3rdParty stuff is coming from?
misc
doesn't tell me much and I don't find anything for double33
.
@perost Do you know where the 3rdParty stuff is coming from?
misc
doesn't tell me much and I don't find anything fordouble33
.
double33s.cc
contains the comment:
// The eigenvalue/eigensystem solvers are rewritten in C++/lightmat interface by I.Nakhimovski from:
// Joachim Kopp
// Numerical diagonalization of hermitian 3x3 matrices
// arXiv.org preprint: physics/0610206
// http://www.mpi-hd.mpg.de/~jkopp/3x3/
But the link is dead, and it seems the actual C++ code was written by someone else anyway.
Do you think this could be the cause for segmentation faults described in https://github.com/OpenModelica/OMSimulator/issues/1099#issue-1060261911?
Do you think this could be the cause for segmentation faults described in OpenModelica/OMSimulator#1099 (comment)?
No, it's just a warning that relying on the compiler to generate a copy constructor in that situation is deprecated, but the compiler will still do it.
While compiling OMTLMSimulator from OMSimulator I get a bunch of warnings. Some of them are errors under C++17.
I have
CC=clang
,CXX=clang++
defined.OS: Ubuntu 20.04 OMTLMSimulator: cceb7be