Commit Graph

313 Commits

Author SHA1 Message Date
Laurent Rineau 18e5836373 fix usage of <version>
That C++20 header is already conditionally included bu `<CGAL/config.h>`.

See e6b4d83cff/Installation/include/CGAL/config.h (L322)
2025-11-20 11:35:02 +01:00
Laurent Rineau 749903e4dc try to fix `error C2039: 'format_string': is not a member of 'std'` 2025-04-28 17:15:07 +02:00
Sebastien Loriot 1196ebdf8a more ranges workarounds for Apple clang 2025-04-09 14:45:04 +02:00
Laurent Rineau a45ac3eb69 fix the detection of <format> and std::format 2025-01-29 16:28:48 +01:00
Laurent Rineau da588c9f95 fix a comment in <CGAL/config.h> 2024-11-21 17:02:51 +01:00
Sébastien Loriot 333a0df9d7 also add macro for unreachable 2024-11-08 18:06:42 +01:00
Sébastien Loriot 9f83f94530 assume from c++23 2024-11-08 18:04:24 +01:00
Sébastien Loriot e7b8a4eb17 Merge pull request #8523 from lrineau/CGAL_CGAL-protect_against_macro_free-GF
protect CGAL against macro `free`
2024-10-18 18:00:37 +02:00
Laurent Rineau 9cdce85fbd
Re-add the test for `free`, since TBB has been updated on our Windows test machines 2024-10-14 14:10:49 +02:00
Sébastien Loriot 1c50e0bede Mac OS X cleaning 2024-10-10 14:21:34 +02:00
Andreas Fabri 42488c7876 free -> freelist; Comment define of _CRTDBG_MAP_ALLOC 2024-10-09 14:44:32 +01:00
Laurent Rineau 1f2f6c8e93 add testing with _CRTDBG_MAP_ALLOC 2024-10-08 12:49:14 +02:00
Laurent Rineau d99891beff Fix the detection of C++20 `<format>` header 2024-05-22 15:39:53 +02:00
Laurent Rineau ca90296877 macros to support C++20 concepts conditionally
(used in CDT_3 only, for the moment)
2024-04-26 14:48:19 +02:00
Laurent Rineau bc76d8cbda add CGAL_CAN_USE_CXX20_FORMAT macro for <format> support (C++20) 2024-04-26 13:44:57 +02:00
Laurent Rineau 98f1e53020 Improve I/O
- `IO::oformat` can display triangulations vertex handles
  with point, using `With_point_tag{}` as second argument,

- improve the compatibility with C++20 `<format>`: now the precision
  can be specified in the format string.

Backport: master
2024-04-26 12:05:08 +02:00
Sebastien Loriot 2f3588b156
Add `CGAL/version_checker.h` (#7528)
## Summary of Changes

Following discussion #7525 I added the header `version_enforcer.h`

In the general case, it has nothing to check. If the user includes his
own fork of `version_enforcer.h` with a given number of CGAL version,
then the check happens.

## Release Management

* Affected package(s): Installation
2023-08-14 11:50:58 +02:00
Jane Tournois 571536f09c fix version checker
the 3 major/minor/patch are needed to compare integrals

if they are defined, the version check is done and warning or error are displayed
2023-06-22 14:38:23 +02:00
Jane Tournois 522183bd00 add version_enforcer.h to ease the use of forked headers in external code 2023-06-15 16:16:51 +02:00
Sébastien Loriot bbc4d08ee0 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 10:47:07 +02:00
Sébastien Loriot e54408370b remove CGAL_CXX17 macro
... and no longer used macros
2023-06-15 10:41:56 +02:00
Sébastien Loriot 852b3b664b expand -CGAL_CPP17_INLINE macro 2023-06-15 10:40:54 +02:00
Laurent Rineau d2bc415a15 Merge pull request #6950 from lrineau/CGAL-allow_Epick_with_float-GF
Simple_precision_epick: an Epick-like kernel with float as FT
2023-05-04 16:37:17 +02:00
Laurent Rineau 60b5642b7c only use msvc::no_unique_address with C++20 or later 2023-04-18 11:40:12 +02:00
Laurent Rineau df17ad5e24
Add a comment to the closing #endif 2023-04-06 12:47:07 +02:00
Andreas Fabri b5f44bdac1 Activate workaround only for boost < 1.79 2023-04-04 10:55:31 +01:00
Andreas Fabri 3d9e589853 Remove default value 2023-04-04 10:42:17 +01:00
Andreas Fabri a9cf79e512 Add more partial specializations 2023-04-04 10:21:00 +01:00
Andreas Fabri 49b8f1f7fb Add partial specializations of boost::multiprecision::is_byte_container 2023-04-04 09:20:13 +01:00
Sébastien Loriot 9e137bca24 Merge 'cgal/master' 2023-01-31 12:26:55 +01:00
Mael 0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113 2022-12-06 22:21:06 +01:00
Mael Rouxel-Labbé b5c21e1f5d Http -> https + update some dead links 2022-11-23 18:54:37 +01:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Laurent Rineau 92d8d1c805 Merge remote-tracking branch 'cgal/master' into CGAL-allow_Epick_with_float-GF
# Conflicts:
#	Mesh_3/test/Mesh_3/test_meshing_3D_image.cpp
2022-11-08 12:11:06 +01:00
Laurent Rineau 1c5454dcbe Add Converting_construction to Simple_precision_epick
The difficulty is to detect/define which constructions are "trivial"
and must not be wrapped into `Converting_construction`. Otherwise the
use of `Cartesian_converter`, that uses trivial constructions itself,
can lead to loops and infinite call stacks.
2022-10-28 12:07:58 +02:00
GYuvanShankar ce44ebf64d Documentation change, removed BOOST_PARAMETER_MAX_ARITY macro 2022-08-17 18:03:26 +05:30
Sebastien Loriot 709f123256
Merge pull request #6461 from afabri/Box_intersection-progress-GF
Fast Box Intersection:  Add progress tracking
2022-05-13 17:22:43 +02:00
Sébastien Loriot 79f9d82389 use _v prefixed version 2022-05-06 15:28:50 +02:00
Laurent Rineau 5994eb48b5 Merge pull request #6519 from sloriot/Intel-fallthrough
Update fallthrough for intel compiler
2022-05-06 14:21:58 +02:00
Sébastien Loriot ab7aa75b67 macros are always defined 2022-04-28 13:59:14 +02:00
Sebastien Loriot 8be8236918
fix typo
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2022-04-26 22:30:56 +02:00
Sébastien Loriot f67f2094d7 update for intel compiler + c++14 is the minimal supported version 2022-04-25 23:01:05 +02:00
Andreas Fabri 2455db6692 The warning needs quotes. Exclude VC2015 from a test 2022-01-18 11:39:00 +00:00
Andreas Fabri 115fa5ab39 Remove Geomview from the manual and the demos 2021-12-14 14:01:21 +00:00
Sébastien Loriot 85c00352c3 separate macros and macro function 2021-10-27 16:01:19 +02:00
Sébastien Loriot 604d2fd1ff direct definition
the extra if was generating fallthru warnings
2021-10-27 15:19:05 +02:00
Laurent Rineau e5ab9202f5 Merge pull request #4229 from gdamiand/CGAL_data-gdamiand
Regroup data: scripts and function updates
2021-09-23 16:14:11 +02:00
Sebastien Loriot 4610cf3c66
Merge pull request #5904 from sloriot/CGAL-remove_config_flags
Replace macros with inline functions and remove a config flag
2021-09-10 17:38:50 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Sébastien Loriot 6481cb23d9 remove CXX11 config variables related to threads 2021-08-13 16:44:53 +02:00