made the stl reader check for ascii file keyword instead of computing binary size

8 jobs for stlTypeCheck in 53 minutes and 32 seconds
Status Name Job ID Coverage
  Test
failed clang-c++11 #8102
Linux

00:00:08

passed clang-c++98 #8108
Linux

00:17:12

passed cppcheck #8107
Linux

00:00:27

failed gcc-c++11 #8101
Linux

00:00:10

passed gcc-c++98 #8103
Linux

00:03:53

passed macos-c++11 #8105
Apple

00:16:17

passed macos-c++98 #8106
Apple

00:15:21

failed clang-c++98 #8104
Linux

00:00:00

 
Name Stage Failure
failed
gcc-c++11 Test There is an unknown failure, please try again
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:119: recipe for target 'src/OpenMesh/Core/CMakeFiles/OpenMeshCore.dir/all' failed
make[1]: *** [src/OpenMesh/Core/CMakeFiles/OpenMeshCore.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:156: recipe for target 'src/OpenMesh/Core/CMakeFiles/OpenMeshCoreStatic.dir/all' failed
make[1]: *** [src/OpenMesh/Core/CMakeFiles/OpenMeshCoreStatic.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Build failed: exit status 1
failed
clang-c++11 Test There is an unknown failure, please try again
                                       ^
2 errors generated.
src/OpenMesh/Core/CMakeFiles/OpenMeshCore.dir/build.make:134: recipe for target 'src/OpenMesh/Core/CMakeFiles/OpenMeshCore.dir/IO/reader/STLReader.cc.o' failed
make[2]: *** [src/OpenMesh/Core/CMakeFiles/OpenMeshCore.dir/IO/reader/STLReader.cc.o] Error 1
CMakeFiles/Makefile2:119: recipe for target 'src/OpenMesh/Core/CMakeFiles/OpenMeshCore.dir/all' failed
make[1]: *** [src/OpenMesh/Core/CMakeFiles/OpenMeshCore.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Build failed: exit status 1