mirror of https://github.com/CGAL/cgal
disable/enable warnings
This commit is contained in:
parent
94c162d249
commit
dc2f37a4ae
|
|
@ -590,7 +590,7 @@ public:
|
|||
poly.getCoeff(1),
|
||||
poly.getCoeff(0),
|
||||
buffer);
|
||||
unsigned int num_of_roots = std::distance(&buffer[0], end_buffer);
|
||||
std::ptrdiff_t num_of_roots = std::distance(&buffer[0], end_buffer);
|
||||
|
||||
for (i = 0; i < num_of_roots; ++i)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ private:
|
|||
std::vector<float> v;
|
||||
m_classifier (m_training_set[k], v);
|
||||
|
||||
float min = std::numeric_limits<float>::max();
|
||||
float min = (std::numeric_limits<float>::max)();
|
||||
for(std::size_t l = 0; l < v.size(); ++ l)
|
||||
if (v[l] < min)
|
||||
{
|
||||
|
|
@ -904,7 +904,7 @@ private:
|
|||
std::vector<float> v;
|
||||
(*this) (training_sets[j][k], v);
|
||||
|
||||
float min = std::numeric_limits<float>::max();
|
||||
float min = (std::numeric_limits<float>::max)();
|
||||
for(std::size_t l = 0; l < m_labels.size(); ++ l)
|
||||
if (v[l] < min)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@
|
|||
#ifndef CGAL_COMBINATION_ENUMERATOR_H
|
||||
#define CGAL_COMBINATION_ENUMERATOR_H
|
||||
|
||||
#include <CGAL/disable_warnings.h>
|
||||
|
||||
#include <CGAL/basic.h>
|
||||
#include <vector>
|
||||
|
||||
|
|
@ -136,4 +138,6 @@ public:
|
|||
|
||||
} // end of namespace CGAL
|
||||
|
||||
#include <CGAL/enable_warnings.h>
|
||||
|
||||
#endif // CGAL_COMBINATION_ENUMERATOR_H
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@
|
|||
#ifndef CGAL_RANDOM_POLYGON_2_SWEEP_H
|
||||
#define CGAL_RANDOM_POLYGON_2_SWEEP_H
|
||||
|
||||
#include <CGAL/disable_warnings.h>
|
||||
|
||||
#include <CGAL/enum.h>
|
||||
#include <CGAL/Polygon_2/polygon_assertions.h>
|
||||
#include <set>
|
||||
|
|
@ -582,4 +584,6 @@ void make_simple_polygon(Iterator points_begin, Iterator points_end,
|
|||
|
||||
} // end of namespace CGAL
|
||||
|
||||
#include <CGAL/enable_warnings.h>
|
||||
|
||||
#endif // CGAL_RANDOM_POLYGON_2_SWEEP_H
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <CGAL/license/Mesh_3.h>
|
||||
|
||||
#include <CGAL/disable_warnings.h>
|
||||
|
||||
#include <CGAL/Mesh_3/sliver_criteria.h>
|
||||
#include <CGAL/Mesh_3/Slivers_exuder.h>
|
||||
|
|
@ -85,4 +86,6 @@ exude_mesh_3_impl(C3T3& c3t3,
|
|||
|
||||
} //namespace CGAL
|
||||
|
||||
#include <CGAL/enable_warnings.h>
|
||||
|
||||
#endif // CGAL_EXUDE_MESH_3_H
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <CGAL/license/Mesh_3.h>
|
||||
|
||||
#include <CGAL/disable_warnings.h>
|
||||
|
||||
#include <CGAL/Mesh_3/global_parameters.h>
|
||||
#include <CGAL/Mesh_3/Mesh_global_optimizer.h>
|
||||
|
|
@ -108,5 +109,6 @@ lloyd_optimize_mesh_3_impl(C3T3& c3t3,
|
|||
|
||||
} // end namespace CGAL
|
||||
|
||||
#include <CGAL/enable_warnings.h>
|
||||
|
||||
#endif // CGAL_LLOYD_OPTIMIZE_MESH_3_H
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <CGAL/license/Mesh_3.h>
|
||||
|
||||
|
||||
#include <CGAL/disable_warnings.h>
|
||||
|
||||
#include <CGAL/Mesh_3/global_parameters.h>
|
||||
#include <CGAL/Mesh_3/Mesh_global_optimizer.h>
|
||||
|
|
@ -107,5 +107,6 @@ odt_optimize_mesh_3_impl(C3T3& c3t3,
|
|||
|
||||
} // end namespace CGAL
|
||||
|
||||
#include <CGAL/enable_warnings.h>
|
||||
|
||||
#endif // CGAL_ODT_OPTIMIZE_MESH_3_H
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <CGAL/license/Mesh_3.h>
|
||||
|
||||
|
||||
#include <CGAL/disable_warnings.h>
|
||||
|
||||
#include <CGAL/Mesh_3/global_parameters.h>
|
||||
#include <CGAL/Mesh_3/sliver_criteria.h>
|
||||
|
|
@ -134,4 +134,6 @@ perturb_mesh_3_impl(C3T3& c3t3,
|
|||
} //namespace CGAL
|
||||
|
||||
|
||||
#include <CGAL/enable_warnings.h>
|
||||
|
||||
#endif // CGAL_PERTURB_MESH_3_H
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@
|
|||
#ifndef CGAL_POLYGON_2_SIMPLICITY_H
|
||||
#define CGAL_POLYGON_2_SIMPLICITY_H
|
||||
|
||||
#include <CGAL/disable_warnings.h>
|
||||
|
||||
#include <CGAL/enum.h>
|
||||
#include <CGAL/Polygon_2/polygon_assertions.h>
|
||||
#include <set>
|
||||
|
|
@ -501,4 +503,6 @@ bool is_simple_polygon(Iterator points_begin, Iterator points_end,
|
|||
|
||||
} // end of namespace CGAL
|
||||
|
||||
#include <CGAL/enable_warnings.h>
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue