Commit Graph

131 Commits

Author SHA1 Message Date
Laurent Rineau 4c97ab6c96 Minor fixes for -Wconversion warnings in a few packages 2016-04-22 12:36:26 +02:00
Andreas Fabri 06f5dcfb41 I had removed one #endif too much 2016-03-22 19:11:02 +01:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Simon Giraudot f21cb46900 Remove deprecated "register" keyword 2015-12-17 08:20:56 +01:00
Guillaume Damiand e4342d50d2 Merge remote-tracking branch 'cgal-dev/CGAL_headers_only-gdamiand_cjamin' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:48:54 +02:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Peter Palfrader 166412c56a Fix linking issue caused by violation of the one definition rule.
When including CGAL/Polynomial/CORE_Expr_root_stack.h in a header file
that in turn gets included in multiple .cpp files, code from
CORE_Expr_root_stack.h ends up in multiple object files and causes
linking problems:
  multiple definition of `CGAL::POLYNOMIAL::operator<<(std::ostream&, CGAL::POLYNOMIAL::CORE_Expr_root_stack const&)'
  multiple definition of `CGAL::POLYNOMIAL::internal::operator*(CORE::BigRat const&, CGAL::POLYNOMIAL::internal::CORE_polynomial const&)'

Work around this issue by declaring both operators inline.
2015-07-21 10:00:13 +02:00
Guillaume Damiand 14dfd95f48 Cleanup Kinetic_data_structures for header only 2015-06-09 16:24:24 +02:00
Clement Jamin ed3113f89d Code clean-up 2015-03-16 17:01:49 +01:00
Clement Jamin 3915c89c17 Oops, forgot to commit the *_impl.h files 2014-12-03 11:29:54 +01:00
Clement Jamin e18e59a72a Header-only for package Kinetic_data_structures 2014-12-02 20:41:19 +01:00
Sébastien Loriot 251a9d8446 fixes for tests to use leda and not gmp 2014-06-19 14:29:20 +02:00
Andreas Fabri 698a9de02f _MSC_VER was still wrong 2014-05-09 08:46:53 +02:00
Andreas Fabri ae5c56c7ce _MSC_VER was too small 2014-05-08 13:34:43 +02:00
Andreas Fabri e574340204 workaround for VC12 2014-05-07 14:38:45 +02:00
Andreas Fabri 9a17fce6b1 Remove '&' from the return type, as it would be a reference to a local variable 2013-02-28 09:46:57 +01:00
Andreas Fabri 92ebc695a2 remove unused parameter name 2013-02-28 09:46:55 +01:00
Andreas Fabri 6531c0ba44 NULL -> 0 2013-02-28 09:46:51 +01:00
Andreas Fabri 6c92f49150 add static_cast<int> 2013-02-27 13:37:00 +01:00
Laurent Rineau 95c4307510 Fix the copyright/license header 2012-01-16 14:26:41 +00:00
Andreas Fabri e337d22aa2 Add export statements 2011-10-13 10:03:33 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Andreas Fabri cbfe32ce37 Add declspecs for Visual C++ so that we can build dlls 2011-10-05 19:12:23 +00:00
Guillaume Damiand a29c905ee0 Replace BOOST_STATIC_ASSERT by CGAL_static_assertion. 2011-08-31 14:30:07 +00:00
Laurent Rineau 9c3701e4fc Use boost::iterator_facade. Without it, it is very difficult to write
iterators that real are models of the iterator concepts.
2010-11-29 12:33:20 +00:00
Laurent Rineau aced534160 Fix warnings about unused variables. 2010-11-29 12:32:22 +00:00
Laurent Rineau 09bab9cce9 Missing operator+ in CGAL::POLYNOMIAL::internal::Derivative<Fn>::It 2010-11-25 15:41:22 +00:00
Andreas Fabri 714149267e built-in arrays have no member functions as size() and empty() 2010-08-23 07:38:37 +00:00
Andreas Fabri efffec74b9 see if Intel C++ strict ansi likes this assertion better 2010-08-10 08:46:12 +00:00
Andreas Fabri d781f3d704 Removed one of two default constructors 2010-08-06 11:08:29 +00:00
Andreas Fabri 885678e792 Removed default constructor as there exists a constructor with one argument having a default value 2010-08-05 06:41:44 +00:00
Sébastien Loriot d53e01f1a1 remove package namespace macro 2010-06-09 08:45:58 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Marc Glisse 2256ae01e7 Trivial fixes for the testsuite. 2010-04-22 09:58:25 +00:00
Daniel Russel f4aefd44b1 attempt to make things work when core not supported. I can't build the tests for some reason, so something might have been missed. Have to look in to that 2010-04-02 18:02:25 +00:00
Sylvain Pion 6cc542446d Fix some typos in the protect macro names.
Use a form "#ifndef" more consistently.

The idea is to automatize most of the verification of the consistency
in the names used in the #ifndef and the following #define using a simple :

grep -r -m 1 '#ifndef' */include/CGAL  | grep CGAL_ | cut -d' ' -f2 | sort > ifndef.macros
grep -r -m 1 '#define' */include/CGAL  | grep CGAL_ | cut -d' ' -f2 | sort > define.macros
diff ifndef.macros define.macros
2009-04-08 11:54:51 +00:00
Michael Hemmer 646f5585ed rename RET::Sign RET::Sgn 2008-09-18 15:41:45 +00:00
Andreas Fabri d0bc6469b9 Operator needed for VC++ HAS_ITERATOR_DEBUGGING 2008-09-16 13:54:07 +00:00
Michael Hemmer 14debf77ce mv Real_embeddable_traits_base in internal namespace 2008-08-07 08:57:24 +00:00
Michael Hoffmann a25985b73b Remove dependency on CGAL/functional -> replace Unary_function
and Binary_function by std:: counterparts.
2008-07-23 15:07:16 +00:00
Sylvain Pion ebb5e40b14 Remove casts to Sign.
They are useless since we merged the various enum types.
2008-04-09 13:09:17 +00:00
Sylvain Pion b24108f5fd Remove #include <cassert> from everywhere under include/CGAL/.
CGAL code has to use CGAL assertions instead.
2008-01-20 18:47:19 +00:00
Sylvain Pion 88ed563f44 Remove some workarounds for SunPRO + RW's STL:
CGAL_CFG_MISSING_TEMPLATE_VECTOR_CONSTRUCTORS_BUG
CGAL_CFG_RWSTD_NO_MEMBER_TEMPLATES  (partially so far)
CGAL_make_vector
CGAL_make_list
2008-01-03 14:50:13 +00:00
Andreas Meyer c1d1609af1 replaced CGAL_assertion( false* and CGAL_assertion( 0*
with CGAL_error/CGAL_error_msg
2007-11-08 00:27:20 +00:00
Andreas Meyer 6623d525eb * replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Marc Glisse 3df14be20d Sunpro vector constructor workaround. 2007-08-28 10:00:21 +00:00
Daniel Russel 1ad21fef7c Hmmmmm, demo works here 2007-08-23 15:34:09 +00:00
Daniel Russel 8a107b364b fixed qt problem--too fancy with overloading 2007-07-10 22:09:27 +00:00
Daniel Russel 6cee3cddc1 get latest changes into build 2007-07-09 23:10:13 +00:00