WIP: Issue 104 keep sampled geo info
Originally slated for the 1606 code base (now master). Should be rebased prior to merging into current development line.
Merge request reports
Activity
mentioned in issue #104 (closed)
changing mergedSurf->meshedSurf on line 47 seem to work. But fails further
sampledSurface/writers/nastran/nastranSurfaceWriter.C: In member function 'Foam::Ostream& Foam::nastranSurfaceWriter::writeFooter(Foam::Ostream&, const Foam::meshedSurf&) const': sampledSurface/writers/nastran/nastranSurfaceWriter.C:360:19: error: expected initializer before ':' token sampledSurface/writers/nastran/nastranSurfaceWriter.C:478:1: error: expected primary-expression at end of input sampledSurface/writers/nastran/nastranSurfaceWriter.C:478:1: error: expected ';' at end of input sampledSurface/writers/nastran/nastranSurfaceWriter.C:478:1: error: expected primary-expression at end of input sampledSurface/writers/nastran/nastranSurfaceWriter.C:478:1: error: expected ')' at end of input sampledSurface/writers/nastran/nastranSurfaceWriter.C:478:1: error: expected statement at end of input sampledSurface/writers/nastran/nastranSurfaceWriter.C:478:1: error: expected '}' at end of input sampledSurface/writers/nastran/nastranSurfaceWriter.C:478:1: warning: no return statement in function returning non-void
Edited by Prashant SonakarThis is due to having some C++11 syntax. I guess that I wasn't careful enough about older compiler versions.
- line 360 (nastran writer) uses a range-based
for
, which available starting with gcc 4.6 - line 47 (mergedSurf) uses a delegating constructor, which is available starting with gcc 4.7
I'll downgrade to older syntax and push now.
- line 360 (nastran writer) uses a range-based
Added 1 commit:
- fa9c6af3 - COMPILE: avoid newer C++11 features that were used in solving issue #104 (closed)
Mentioned in merge request !75 (merged)
Please register or sign in to reply