diff --git a/Installation/CMakeLists.txt b/Installation/CMakeLists.txt index 6b1692bf608..8e7647e029d 100644 --- a/Installation/CMakeLists.txt +++ b/Installation/CMakeLists.txt @@ -771,10 +771,10 @@ endif() # Set CGAL_LIBRARY_NAME, CGAL_Qt3_LIBRARY_NAME and so on. Those variables # are the name of CGAL libraries, without the path. Used in the generation # of the installed CGALConfig.cmake -get_filename_component(CGAL_LIBRARY_NAME "${CGAL_LIBRARY}" NAME CACHE) +get_filename_component(CGAL_LIBRARY_NAME "${CGAL_LIBRARY}" NAME) hide_variable(CGAL_LIBRARY_NAME) foreach(lib ${CGAL_CONFIGURED_LIBRARIES}) - get_filename_component(CGAL_${lib}_LIBRARY_NAME "${CGAL_${lib}_LIBRARY}" NAME CACHE) + get_filename_component(CGAL_${lib}_LIBRARY_NAME "${CGAL_${lib}_LIBRARY}" NAME) hide_variable(CGAL_${lib}_LIBRARY_NAME) endforeach() diff --git a/Maintenance/infrastructure/cgal.geometryfactory.com/bin/dump_crontab b/Maintenance/infrastructure/cgal.geometryfactory.com/bin/dump_crontab index 9e3aafefbaf..06504b6f5cb 100755 --- a/Maintenance/infrastructure/cgal.geometryfactory.com/bin/dump_crontab +++ b/Maintenance/infrastructure/cgal.geometryfactory.com/bin/dump_crontab @@ -1,6 +1,6 @@ #!/bin/zsh -cd $HOME/CGAL/trunk/Maintenance/infrastructure/cgal.geometryfactory.com/ +cd $HOME/CGAL/next/Maintenance/infrastructure/cgal.geometryfactory.com/ crontab -l >| crontab svn add -q crontab [ -n "`svn st crontab`" ] && svn ci -m 'updated crontab (automated commit)' crontab diff --git a/Polynomial/include/CGAL/Polynomial/Polynomial_type.h b/Polynomial/include/CGAL/Polynomial/Polynomial_type.h index 68ae9f8528c..fcbebf14700 100644 --- a/Polynomial/include/CGAL/Polynomial/Polynomial_type.h +++ b/Polynomial/include/CGAL/Polynomial/Polynomial_type.h @@ -41,6 +41,7 @@ typename CGAL::internal::Innermost_coefficient_type::Type , 2>::Type #include +#include #include #include @@ -1330,7 +1331,7 @@ void Polynomial::output_maple(std::ostream& os) const { static const char *varnames[] = { "x", "y", "z" }; varname = varnames[Polynomial_traits_d::d]; } else { - sprintf(vnbuf, "w%d", Polynomial_traits_d::d - 2); + std::sprintf(vnbuf, "w%d", Polynomial_traits_d::d - 2); varname = vnbuf; } diff --git a/Surface_mesh_parameterization/include/CGAL/Parameterization_mesh_patch_3.h b/Surface_mesh_parameterization/include/CGAL/Parameterization_mesh_patch_3.h index 69bbdb16e0c..bad3d1a86ce 100644 --- a/Surface_mesh_parameterization/include/CGAL/Parameterization_mesh_patch_3.h +++ b/Surface_mesh_parameterization/include/CGAL/Parameterization_mesh_patch_3.h @@ -22,6 +22,7 @@ #ifndef CGAL_PARAMETERIZATION_MESH_PATCH_3_H #define CGAL_PARAMETERIZATION_MESH_PATCH_3_H +#include #include #include #include diff --git a/Surface_mesh_parameterization/include/CGAL/Taucs_matrix.h b/Surface_mesh_parameterization/include/CGAL/Taucs_matrix.h index 90c3c93327b..f8cabd3da5c 100644 --- a/Surface_mesh_parameterization/include/CGAL/Taucs_matrix.h +++ b/Surface_mesh_parameterization/include/CGAL/Taucs_matrix.h @@ -27,6 +27,7 @@ #include #include +#include #include namespace CGAL { @@ -322,9 +323,9 @@ public: int nb_elements = m_columns[col].size(); // Number of non null elements of the column // Fast copy of column indices and values - memcpy(&m_matrix->rowind[first_index], &m_columns[col].m_indices[0], nb_elements*sizeof(int)); + std::memcpy(&m_matrix->rowind[first_index], &m_columns[col].m_indices[0], nb_elements*sizeof(int)); T* taucs_values = (T*) m_matrix->values.v; - memcpy(&taucs_values[first_index], &m_columns[col].m_values[0], nb_elements*sizeof(T)); + std::memcpy(&taucs_values[first_index], &m_columns[col].m_values[0], nb_elements*sizeof(T)); // Start of next column will be: m_matrix->colptr[col+1] = first_index + nb_elements;