CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   compile warnings with g++ (GCC) 4.4.6 (https://www.cfd-online.com/Forums/su2-installation/125032-compile-warnings-g-gcc-4-4-6-a.html)

jentink October 17, 2013 12:24

compile warnings with g++ (GCC) 4.4.6
 
Over the gov. shutdown, I've been compiling and running SU2 with no problem from home (ubuntu 13.04). mpicxx is using g++ version:
g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3

Today I am compiling v 2.0.8 on a cluster at work. The g++ version is now
g++ (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)

I'm getting a lot of: "xxx" is only partially overridden in class "xxx" and virtual function override intended? messages (see below)

Do I need to worry about those?



../src/../include/solver_structure.hpp(6604): warning #654: overloaded virtual function "CSolver::GetDensity_Velocity_Inf" is only partially overridden in class "CTNE2EulerSolver"
class CTNE2EulerSolver : public CSolver {


../../SU2_CFD/src/../include/variable_structure.hpp(4093): warning #1125: overloaded function "CVariable::SetPrimVar_Compressible" is hidden by "CAdjTNE2EulerVariable::SetPrimVar_Compressibl e" -- virtual function override intended?
void SetPrimVar_Compressible(double val_adjlimit);

copeland October 17, 2013 13:34

Hey Tom,

These warnings show up on some architectures and with some compile settings. It's a known issue and the development team is working on stamping out the warnings for the next releases. No worries, everything should work normally.


-Sean


All times are GMT -4. The time now is 22:00.