Hello, when I compile libigl with CMake, I get a lot of compiler warnings from libigl. It would be nice if you fix the code that throws the warnings.
C:\Users\Song\Documents\UDEM\ift6113\hw\ift6113_2020\libigl\include\igl\read_triangle_mesh.cpp(147): note: see reference to function template instantiation 'bool igl::readSTL<Eigen::Matrix<double,-1,-1,0,-1,-1>,Eigen::Matrix<int,-1,-1,0,-1,-1>,Eigen::Matrix<double,-1,-1,0,-1,-1>>(FILE *,Eigen::PlainObjectBase<Eigen::Matrix<double,-1,-1,0,-1,-1>> &,Eigen::PlainObjectBase<Eigen::Matrix<int,-1,-1,0,-1,-1>> &,Eigen::PlainObjectBase<Eigen::Matrix<double,-1,-1,0,-1,-1>> &)' being compiled
C:\Users\Song\Documents\UDEM\ift6113\hw\ift6113_2020\libigl\include\igl\readSTL.cpp(105): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Song\Documents\UDEM\ift6113\hw\ift6113_2020\libigl\include\igl\readSTL.cpp(133): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
Describe your question
Hello, when I compile libigl with CMake, I get a lot of compiler warnings from libigl. It would be nice if you fix the code that throws the warnings.
You can replicate these warnings by cloning this repo https://github.com/ivanpuhachov/ift6113_2020.git. Install the prerequisites for the repo (for a mesh processing course). Then go to the folders ending with
_cppand follow the inner readme.md to compile an executable.An excerpt:
Check all that apply (change to
[x])