include <CGAL/config.h>, not <CGAL/basic.h>

This commit is contained in:
Laurent Rineau 2016-09-26 15:52:59 +02:00
parent 51f5697d3d
commit 1aefb3b0f3
40 changed files with 52 additions and 40 deletions

View File

@ -25,7 +25,7 @@
#ifndef CGAL_CIRCULATOR_H
#define CGAL_CIRCULATOR_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/circulator_bases.h>
#include <CGAL/assertions.h>
#include <CGAL/use.h>

View File

@ -34,7 +34,7 @@
// - Remove the degree stuff, it's only meant for debug (?).
// - Add __attribute__((const)) for optimizing ?
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/FPU.h>
#include <boost/math/special_functions/next.hpp>

View File

@ -29,7 +29,7 @@
// logic and is not plug'n play (requires users providing bounds).
// If it should be provided again, it should probably be separate.
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/Kernel/function_objects.h>
#include <CGAL/Cartesian/function_objects.h>

View File

@ -21,7 +21,7 @@
#ifndef CGAL_INTERNAL_STATIC_FILTERS_TOOLS_H
#define CGAL_INTERNAL_STATIC_FILTERS_TOOLS_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/function_objects.h>
#include <boost/mpl/has_xxx.hpp>

View File

@ -26,7 +26,7 @@
#ifndef CGAL_HANDLE_HASH_FUNCTION_H
#define CGAL_HANDLE_HASH_FUNCTION_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <cstddef>
namespace CGAL {

View File

@ -26,7 +26,7 @@
#ifndef CGAL_UNIQUE_HASH_MAP_H
#define CGAL_UNIQUE_HASH_MAP_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/memory.h>
#include <CGAL/Handle_hash_function.h>
#include <CGAL/Tools/chained_map.h>

View File

@ -24,8 +24,9 @@
#ifndef CGAL_AFF_TRANSFORMATION_2_H
#define CGAL_AFF_TRANSFORMATION_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/Dimension.h>
#include <CGAL/aff_transformation_tags.h>
namespace CGAL {

View File

@ -24,7 +24,7 @@
#ifndef CGAL_BBOX_2_H
#define CGAL_BBOX_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/kernel_assertions.h>
#include <CGAL/IO/io.h>
#include <CGAL/Dimension.h>

View File

@ -24,7 +24,9 @@
#ifndef CGAL_BBOX_3_H
#define CGAL_BBOX_3_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/kernel_assertions.h>
#include <CGAL/result_of.h>
#include <CGAL/IO/io.h>
#include <CGAL/Dimension.h>
#include <CGAL/array.h>

View File

@ -20,7 +20,7 @@
#ifndef CGAL_DIMENSION_H
#define CGAL_DIMENSION_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/Kernel_traits.h>
#include <climits>
#include <limits>

View File

@ -21,7 +21,7 @@
#ifndef CGAL_KERNEL_RETURN_BASE_TAG_H
#define CGAL_KERNEL_RETURN_BASE_TAG_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
// This is a simple tag which is used as additional (first) argument in
// some kernel functors, to tell them to return the base (rep) class,

View File

@ -25,7 +25,7 @@
#ifndef CGAL_KERNEL_MPL_H
#define CGAL_KERNEL_MPL_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
// Some tools for basic template metaprogramming.
// These bits should move to CGAL/mpl.h in STL_Extension, or taken from Boost.

View File

@ -26,7 +26,7 @@
#ifndef CGAL_ORIGIN_H
#define CGAL_ORIGIN_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
namespace CGAL {

View File

@ -26,7 +26,7 @@
#ifndef CGAL_AFF_TRANSFORMATION_TAGS_H
#define CGAL_AFF_TRANSFORMATION_TAGS_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
namespace CGAL {

View File

@ -30,7 +30,7 @@
#ifndef CGAL_POLYGON_2_H
#define CGAL_POLYGON_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <vector>
#include <list>
#include <iterator>

View File

@ -29,7 +29,7 @@
#ifndef CGAL_POLYGON_2_ALGORITHMS_H
#define CGAL_POLYGON_2_ALGORITHMS_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/enum.h>
#include <CGAL/Bbox_2.h>
#include <CGAL/Polygon_2/polygon_assertions.h>

View File

@ -27,7 +27,7 @@
// For backward compatibility only.
#include <CGAL/basic.h>
#include <CGAL/config.h>
namespace CGAL {

View File

@ -21,9 +21,10 @@
#ifndef CGAL_COMPACT_CONTAINER_H
#define CGAL_COMPACT_CONTAINER_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/Default.h>
#include <cmath>
#include <iterator>
#include <algorithm>
#include <vector>

View File

@ -29,7 +29,8 @@
#ifndef CGAL_OBJECT_H
#define CGAL_OBJECT_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/assertions.h>
#include <typeinfo>

View File

@ -27,10 +27,12 @@
#ifndef CGAL_ALGORITHM_H
#define CGAL_ALGORITHM_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/utils.h>
#include <CGAL/enum.h>
#include <algorithm>
#include <iosfwd>
#include <iostream>
#ifdef CGAL_CFG_NO_CPP0X_NEXT_PREV
# include <boost/next_prior.hpp>

View File

@ -20,7 +20,7 @@
#ifndef CGAL_HILBERT_SORT_BASE_H
#define CGAL_HILBERT_SORT_BASE_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <algorithm>
#include <CGAL/algorithm.h>

View File

@ -20,7 +20,7 @@
#ifndef CGAL_HILBERT_SORT_MEDIAN_2_H
#define CGAL_HILBERT_SORT_MEDIAN_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <functional>
#include <cstddef>
#include <CGAL/Hilbert_sort_base.h>

View File

@ -20,7 +20,7 @@
#ifndef CGAL_HILBERT_SORT_MEDIAN_3_H
#define CGAL_HILBERT_SORT_MEDIAN_3_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <functional>
#include <cstddef>
#include <CGAL/Hilbert_sort_base.h>

View File

@ -20,10 +20,11 @@
#ifndef CGAL_HILBERT_SORT_MEDIAN_d_H
#define CGAL_HILBERT_SORT_MEDIAN_d_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <functional>
#include <cstddef>
#include <iterator>
#include <vector>
#include <CGAL/Hilbert_sort_base.h>
namespace CGAL {

View File

@ -20,7 +20,7 @@
#ifndef CGAL_HILBERT_SORT_MIDDLE_2_H
#define CGAL_HILBERT_SORT_MIDDLE_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <functional>
#include <cstddef>
#include <CGAL/Hilbert_sort_middle_base.h>

View File

@ -20,7 +20,7 @@
#ifndef CGAL_HILBERT_SORT_MIDDLE_3_H
#define CGAL_HILBERT_SORT_MIDDLE_3_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <functional>
#include <cstddef>
#include <CGAL/Hilbert_sort_middle_base.h>

View File

@ -20,7 +20,7 @@
#ifndef CGAL_HILBERT_SORT_MIDDLE_BASE_H
#define CGAL_HILBERT_SORT_MIDDLE_BASE_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <algorithm>
namespace CGAL {

View File

@ -20,9 +20,10 @@
#ifndef CGAL_HILBERT_SORT_MIDDLE_d_H
#define CGAL_HILBERT_SORT_MIDDLE_d_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <functional>
#include <cstddef>
#include <vector>
#include <CGAL/Hilbert_sort_middle_base.h>
namespace CGAL {

View File

@ -20,7 +20,8 @@
#ifndef CGAL_MULTISCALE_SORT_H
#define CGAL_MULTISCALE_SORT_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/assertions.h>
#include <iterator>
#include <cstddef>

View File

@ -21,7 +21,7 @@
#ifndef CGAL_HILBERT_SORT_H
#define CGAL_HILBERT_SORT_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/Hilbert_policy_tags.h>
#include <CGAL/Hilbert_sort_2.h>

View File

@ -20,7 +20,7 @@
#ifndef CGAL_SPATIAL_SORT_H
#define CGAL_SPATIAL_SORT_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/hilbert_sort.h>
#include <CGAL/Multiscale_sort.h>

View File

@ -25,7 +25,8 @@
#ifndef CGAL_IO_FILE_HEADER_EXTENDED_OFF_H
#define CGAL_IO_FILE_HEADER_EXTENDED_OFF_H 1
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <iostream>
#include <string>

View File

@ -25,7 +25,7 @@
#ifndef CGAL_IO_FILE_SCANNER_OFF_H
#define CGAL_IO_FILE_SCANNER_OFF_H 1
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <cstddef>
#include <CGAL/IO/binary_file_io.h>
#include <CGAL/IO/File_header_OFF.h>

View File

@ -26,7 +26,7 @@
#ifndef CGAL_IO_BINARY_FILE_IO_H
#define CGAL_IO_BINARY_FILE_IO_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <iostream>
#include <boost/cstdint.hpp>

View File

@ -21,7 +21,7 @@
#ifndef CGAL_TRIANGULATION_DUMMY_TDS_2_H
#define CGAL_TRIANGULATION_DUMMY_TDS_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
namespace CGAL {

View File

@ -21,7 +21,7 @@
#ifndef CGAL_TRIANGULATION_DATA_STRUCTURE_2_H
#define CGAL_TRIANGULATION_DATA_STRUCTURE_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <iostream>
#include <list>
#include <map>

View File

@ -21,7 +21,7 @@
#ifndef CGAL_TRIANGULATION_DS_FACE_BASE_2_H
#define CGAL_TRIANGULATION_DS_FACE_BASE_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/triangulation_assertions.h>
#include <CGAL/Triangulation_utils_2.h>
#include <CGAL/Dummy_tds_2.h>

View File

@ -22,7 +22,8 @@
#ifndef CGAL_TRIANGULATION_DS_VERTEX_BASE_2_H
#define CGAL_TRIANGULATION_DS_VERTEX_BASE_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <iostream>
#include <CGAL/Dummy_tds_2.h>
namespace CGAL {

View File

@ -21,7 +21,7 @@
#ifndef CGAL_TRIANGULATION_FACE_BASE_2_H
#define CGAL_TRIANGULATION_FACE_BASE_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/triangulation_assertions.h>
#include <CGAL/Triangulation_ds_face_base_2.h>

View File

@ -21,7 +21,7 @@
#ifndef CGAL_TRIANGULATION_VERTEX_BASE_2_H
#define CGAL_TRIANGULATION_VERTEX_BASE_2_H
#include <CGAL/basic.h>
#include <CGAL/config.h>
#include <CGAL/Triangulation_ds_vertex_base_2.h>
namespace CGAL {