Topic: Errors during VS compilation
After updating my local copy of oofem code from the git repo, I found 2 errors compiling with VS 2013:
1 -
error C2593: 'operator =' ambiguous C:\oofemUPD\src\oofemlib\constantfunction.h 68 1 sm
the line of code is the following (commenting this line the compilation goes fine, but not sure if I can really comment it out):
virtual void evaluate(FloatArray &answer, const std :: map< std :: string, FunctionArgument > &valDict) { answer = {this->giveValue()}; }
2 - this is the most strange error to me, and it occurs a lot of time during compilation:
error C2280: 'std::unique_ptr<oofem::IntegrationRule,std::default_delete<_Ty>> &std::unique_ptr<_Ty,std::default_delete<_Ty>>::operator =(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)': tentativo di fare riferimento a una funzione eliminata C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xutility 2045 1 sm
I found this explanation, but for me it is not very useful ...
Finally, can the AbaqusUserElement code (that I submitted on another topic) be included in this release? It's still a bit experimental but I think it useful...
I cannot find also the referenceAngle added in beam3d ...
thanks for the help