CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2 > SU2 Installation

compile warnings with g++ (GCC) 4.4.6

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 17, 2013, 12:24
Default compile warnings with g++ (GCC) 4.4.6
Tom Jentink
Join Date: Jan 2013
Posts: 51
Rep Power: 7
jentink is on a distinguished road
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);
jentink is offline   Reply With Quote

Old   October 17, 2013, 13:34
Sean R. Copeland
Join Date: Jan 2013
Posts: 40
Rep Power: 7
copeland is on a distinguished road
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.

copeland is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile OF 2.20 or 2.10 when GCC cannot be update y_jiang OpenFOAM Installation 2 May 27, 2013 19:20
Custom BC compile warnings & Runtime Errors Hisham OpenFOAM Programming & Development 5 November 2, 2011 03:48
Cmake cannot recognize gcc to compile ParaView CAVT OpenFOAM 3 July 27, 2010 20:38
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51
Need Makefile for GCC in windows to compile UDFs Filipe Madureira FLUENT 2 December 28, 2005 17:08

All times are GMT -4. The time now is 12:58.