more C++98 compatibility

23 jobs for midpoint-subdivision in 76 minutes and 13 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
passed clang-c++11 #21677
Linux

00:21:11

failed clang-c++98 #21679
Linux

00:01:33

passed cppcheck #21682
Linux

00:00:26

passed gcc-c++11 #21676
Linux

00:06:58

failed gcc-c++98 #21678
Linux

00:00:30

passed macos-c++11 #21680
Apple

00:09:35

passed macos-c++98 #21681
Apple

00:08:57

passed VS2013-32-bit-shared-apps #21693
VS2013

00:04:55

passed VS2013-32-bit-shared-no-apps #21694
VS2013

00:03:26

passed VS2013-32-bit-static-apps #21697
VS2013

00:04:53

passed VS2013-32-bit-static-no-apps #21698
VS2013

00:03:33

passed VS2013-64-bit-shared-apps #21691
VS2013

00:04:53

passed VS2013-64-bit-shared-no-apps #21692
VS2013

00:03:56

passed VS2013-64-bit-static-apps #21695
VS2013

00:04:53

passed VS2013-64-bit-static-no-apps #21696
VS2013

00:04:08

passed VS2015-32-bit-shared-apps #21685
VS2015

00:06:10

passed VS2015-32-bit-shared-no-apps #21686
VS2015

00:04:33

passed VS2015-32-bit-static-apps #21689
VS2015

00:05:39

passed VS2015-32-bit-static-no-apps #21690
VS2015

00:04:56

passed VS2015-64-bit-shared-apps #21683
VS2015

00:06:35

passed VS2015-64-bit-shared-no-apps #21684
VS2015

00:05:27

passed VS2015-64-bit-static-apps #21687
VS2015

00:06:27

passed VS2015-64-bit-static-no-apps #21688
VS2015

00:05:39

 
Name Stage Failure
failed
gcc-c++98 Test There is an unknown failure, please try again
[ 71%] Built target Synthesizer
[ 71%] Built target ProgViewer
CMakeFiles/Makefile2:920: recipe for target 'src/OpenMesh/Apps/Subdivider/SubdividerGui/CMakeFiles/SubdividerGui.dir/all' failed
make[1]: *** [src/OpenMesh/Apps/Subdivider/SubdividerGui/CMakeFiles/SubdividerGui.dir/all] Error 2
[ 71%] Linking CXX executable ../../../../../Build/bin/DecimaterGui
[ 71%] Built target DecimaterGui
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Build failed: exit status 1
failed
clang-c++98 Test There is an unknown failure, please try again
                                          ^
2 errors generated.
src/OpenMesh/Apps/Subdivider/commandlineSubdivider/CMakeFiles/commandlineSubdivider.dir/build.make:62: recipe for target 'src/OpenMesh/Apps/Subdivider/commandlineSubdivider/CMakeFiles/commandlineSubdivider.dir/__/subdivider.cc.o' failed
make[2]: *** [src/OpenMesh/Apps/Subdivider/commandlineSubdivider/CMakeFiles/commandlineSubdivider.dir/__/subdivider.cc.o] Error 1
CMakeFiles/Makefile2:528: recipe for target 'src/OpenMesh/Apps/Subdivider/commandlineSubdivider/CMakeFiles/commandlineSubdivider.dir/all' failed
make[1]: *** [src/OpenMesh/Apps/Subdivider/commandlineSubdivider/CMakeFiles/commandlineSubdivider.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Build failed: exit status 1