Commit Graph

335 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé d701f57a7c Fixed namespace 2018-06-13 17:10:36 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Andreas Fabri 99bc374cce More forward declarations 2018-05-15 15:37:51 +02:00
Andreas Fabri c54a6a4980 Put CGAL::random_shuffle() in the subnamespace cpp98 2018-04-11 09:32:23 +01:00
Andreas Fabri 063a91a771 Use CGAL::random_shuffle 2018-04-04 14:00:23 +01:00
Laurent Rineau 182239d6b6
Merge branch 'master' into CGAL-remove_SCL_SECURE_NO_DEPRECATE-GF 2018-03-06 16:49:30 +01:00
Andreas Fabri eb526fc4f5 Replacements and suppress warnings in the test code 2018-02-20 13:10:38 +00:00
Andreas Fabri d5523f80c0 Use CGAL_STATIC_THREAD_LOCAL_VARIABLE 2018-02-19 17:32:21 +00:00
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Simon Giraudot 6269309d86 Use CGAL include for boost counting/transform iterators everywhere 2018-01-23 11:09:52 +01:00
Andreas Fabri 18acb2ece9 Arrangements 2018-01-18 15:05:34 +00:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau 2b35bddfb2 Replace all std::binary_function by CGAL::binary_function 2017-10-04 16:36:32 +02:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Laurent Rineau a64c2773c9 Make <CGAL/Polynomial/Cached_extended_euclidean_algorithm.h> thread-safe
The last bug detected by this PR was actually due to a global static
variable. Now that it is a static variable in a function, like others,
the memory de-allocations seem to be done in the right order (even with
Boost implementation of TLS).

Thanks Sébastien @sloriot for the patch.
2017-01-09 15:12:13 +01:00
Laurent Rineau c826500c7d Merge pull request #1551 from mglisse/Number_types-gmpxx_coercion-glisse
Misc GMPXX fixes
2016-10-20 09:47:39 +02:00
Marc Glisse 1c6cf4b557 Replace ?: with 'if' for expression templates. 2016-10-15 19:48:25 +02:00
Sébastien Loriot 6f122cfa1a move unused files to archive 2016-10-06 09:53:38 +02:00
Laurent Rineau 258718b353 use CGAL_STATIC_THREAD_LOCAL_VARIABLE_0 2016-10-03 15:10:32 +02:00
Andreas Fabri 2b3a94ef0e Make variables thread local 2016-08-31 17:32:03 +02:00
Laurent Rineau 0c690014b7 Remove all usage of CGAL_LEDA_VERSION
Now, LEDA version >= 6.0 is required if `CGAL_USE_LEDA` is toggled.
2016-08-25 14:38:16 +02:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Andreas Fabri 7eede75933 replace if with ()?: 2016-01-21 09:34:15 +01:00
Andreas Fabri 4fec754ef8 put static into the macro and rename it 2015-12-02 20:40:15 +01:00
Andreas Fabri 9c08d41a54 Change the macro CGAL_THREAD_LOCAL_VARIABLE(TYPE,VAR,VAL)
VAL is the parameter to the variable VAR
2015-11-11 11:16:16 +01:00
Andreas Fabri 47a41ccab0 cleanup 2015-10-01 12:38:55 +02:00
Andreas Fabri 3d4a1be429 WIP with Clement 2015-10-01 09:47:47 +02:00
Andreas Fabri 220651bc88 Use CGAL_THREAD_LOCAL as thread_local only comes with VC201 2015-09-04 18:09:50 +02:00
Jane Tournois 629983854e attempt to fix the use of "inline"
the warning C4396 happens for these functions on msvc2015

----------------------------------------------
Compiler Warning (level 2) C4396
Visual Studio 2008
"name" : the inline specifier cannot be used when a friend declaration refers to a specialization of a function template

A specialization of a function template cannot specify any of the inline specifiers. The compiler issues warning C4396 and ignores the inline specifier.
To correct this error
    Remove the inline, __inline, or __forceinline specifier from the friend function declaration.
----------------------------------------------
2015-08-11 17:14:46 +02:00
Sébastien Loriot 1118177959 fix unused type warnings 2015-07-23 09:27:55 +02:00
Sébastien Loriot 691689e165 avoid unused typedefs warnings 2015-07-22 14:18:39 +02:00
Sébastien Loriot 3e037f0f15 fix warnings 2015-07-16 14:44:56 +02:00
Laurent Rineau c18c93023a More #include
When CORE_arithmetic_kernel and LEDA_arithmetic_kernel are used, then
one should have:
  #include <CGAL/CORE_arithmetic_kernel.h>
  #include <CGAL/LEDA_arithmetic_kernel.h>
2014-06-24 18:10:07 +02:00
Andreas Fabri b75c4ccf3e Split the copy-constructor with a default argument in two constructors 2014-03-18 15:59:55 +01:00
Laurent Rineau 20a339bf1b Fix warnings -Wunused-local-typedefs 2013-12-12 18:25:20 +01:00
Andreas Fabri c3cce8a8fa remove unused typedefs and wrap in assertion_code() 2013-09-18 15:06:46 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Andreas Fabri 70cd219647 Merge branch 'CGAL-fix_warnings-GF' of ssh://scm.cgal.org/var/git/cgal into CGAL-fix_warnings-GF 2013-03-20 10:31:34 +01:00
Andreas Fabri 46f0efa200 Wrap in CGAL_assertion_code(..) 2013-03-20 08:32:20 +01:00
Sébastien Loriot 79efc5f76f follow up of 2a71e019: VC performance warning 2013-03-15 12:30:29 +01:00
Sébastien Loriot 2a71e01946 remove int to bool conversion performance warning with VC 2013-03-15 10:34:03 +01:00
Sébastien Loriot 660c6b99ec Revert "replace bitwise with Boolean operators"
This reverts commit d4c53f845d.
2013-03-15 10:31:57 +01:00
Andreas Fabri d4c53f845d replace bitwise with Boolean operators 2013-03-11 19:50:31 +01:00
Laurent Rineau 51ea960be6 Fix warnings about unused types or variables. 2013-02-08 16:50:02 +01:00
Laurent Rineau d19578725b Fix warnings 2013-02-07 18:15:23 +01:00
Andreas Fabri c029f702a3 use more types 2013-02-07 11:02:14 +01:00
Andreas Fabri 2f04928ba7 remove 3 unused typedefs in CGAL/Polynomial/resultant.h 2013-02-06 15:59:45 +01:00
Andreas Fabri 7a17cc98a4 deal with Polynomial (only partially), Subdivision_method, Surface_mesher, Surface_reconstruction 2013-01-31 09:18:28 +01:00
Eric Berberich 672aa31883 template instantion of PT in partial specialization is ... weird 2012-10-16 10:17:31 +00:00
Eric Berberich ab1d8568a0 LiS_HAVE_CORE -> CGAL_USE_CORE 2012-08-22 09:06:07 +00:00