mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: syntax problems found by gcc-4.5.0
- "cpp -traditional-cpp" doesn't strip C++-style comments
Probably need a workaround with sed -e 's@^ *//@@' if we
wish to support C++-style comments in Make/{files,options}
- lduMatrixTests.C:121:1:
error: ‘Foam::lduMatrix::solverPerformance::solverPerformance’ names
the constructor, not the type
- edgeFaceCirculatorI.H:355:1:
error: ‘Foam::edgeFaceCirculator::edgeFaceCirculator’ names the
constructor, not the type
- patchPointEdgeCirculatorI.H:236:1:
error: ‘Foam::patchPointEdgeCirculator::patchPointEdgeCirculator’
names the constructor, not the type
- objToVTK.C:116:5:
error: ‘Foam::argList::argList’ names the constructor, not the type
same in surfaceClean.C, surfaceRefineRedGreen.C, surfaceSplitByPatch.C
- fireFoam/createFields.H:74:41:
error: type/value mismatch at argument 1 in template parameter list
for ‘template<class T> class Foam::autoPtr’
This commit is contained in:
@ -118,7 +118,7 @@ void Foam::lduMatrix::solverPerformance::print() const
|
||||
}
|
||||
|
||||
|
||||
Foam::lduMatrix::solverPerformance::solverPerformance Foam::max
|
||||
Foam::lduMatrix::solverPerformance Foam::max
|
||||
(
|
||||
const lduMatrix::solverPerformance& sp1,
|
||||
const lduMatrix::solverPerformance& sp2
|
||||
|
||||
@ -187,7 +187,9 @@ $(interpolation)/interpolationCellPointWallModified/cellPointWeightWallModified/
|
||||
$(interpolation)/interpolationCellPointWallModified/makeInterpolationCellPointWallModified.C
|
||||
|
||||
volPointInterpolation = interpolation/volPointInterpolation
|
||||
/* $(volPointInterpolation)/pointPatchInterpolation/pointPatchInterpolation.C */
|
||||
/*
|
||||
$(volPointInterpolation)/pointPatchInterpolation/pointPatchInterpolation.C
|
||||
*/
|
||||
$(volPointInterpolation)/volPointInterpolation.C
|
||||
|
||||
surfaceInterpolation = interpolation/surfaceInterpolation
|
||||
@ -305,8 +307,10 @@ $(snGradSchemes)/snGradScheme/snGradSchemes.C
|
||||
$(snGradSchemes)/correctedSnGrad/correctedSnGrads.C
|
||||
$(snGradSchemes)/limitedSnGrad/limitedSnGrads.C
|
||||
$(snGradSchemes)/uncorrectedSnGrad/uncorrectedSnGrads.C
|
||||
//$(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGradData.C
|
||||
//$(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGrads.C
|
||||
/*
|
||||
$(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGradData.C
|
||||
$(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGrads.C
|
||||
*/
|
||||
|
||||
convectionSchemes = finiteVolume/convectionSchemes
|
||||
$(convectionSchemes)/convectionScheme/convectionSchemes.C
|
||||
|
||||
@ -352,8 +352,8 @@ bool Foam::edgeFaceCirculator::operator!=(const edgeFaceCirculator& circ) const
|
||||
|
||||
|
||||
//- Step to next face.
|
||||
Foam::edgeFaceCirculator::edgeFaceCirculator&
|
||||
Foam::edgeFaceCirculator::operator++()
|
||||
Foam::edgeFaceCirculator&
|
||||
Foam::edgeFaceCirculator::operator++()
|
||||
{
|
||||
if (faceLabel_ == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user