Added support for gcc-4.7.0

This commit is contained in:
Henry
2012-04-29 22:01:57 +01:00
parent a2229c4f04
commit 5d4480e706
14 changed files with 74 additions and 2 deletions

View File

@ -32,6 +32,7 @@ License
#include "regIOobject.H" // for fileModificationSkew symbol
#ifdef FOAM_USE_INOTIFY
# include <unistd.h>
# include <sys/inotify.h>
# include <sys/ioctl.h>
# include <errno.h>

View File

@ -53,7 +53,7 @@ template<class Type, class DType, class LUType>
void Foam::SmoothSolver<Type, DType, LUType>::readControls()
{
LduMatrix<Type, DType, LUType>::solver::readControls();
readControl(this->controlDict_, nSweeps_, "nSweeps");
this->readControl(this->controlDict_, nSweeps_, "nSweeps");
}