Commit Graph

236 Commits

Author SHA1 Message Date
Laurent Rineau e965b6293e Fix compilation errors with C++11 and Boost-1.56
Use *explicit* conversions to `bool`, for boost::shared_ptr and
boost::optional.
2015-01-14 14:47:29 +01:00
Sébastien Loriot 3cfc2e7efe using Exact_rational instead of Gmpq 2014-06-27 15:20:48 +02:00
Sébastien Loriot 251a9d8446 fixes for tests to use leda and not gmp 2014-06-19 14:29:20 +02:00
Andreas Fabri dd531f5068 suppress size_t->int loss of precision warning 2014-05-14 08:44:53 +02:00
Andreas Fabri d4bca9e2a4 Qiet down VC++ on a 'performance' warning 2014-05-07 14:38:44 +02:00
Andreas Fabri 7f52c63c82 Apply a bug fix proposed by Jeffrey Bush 2014-05-07 14:38:44 +02:00
Laurent Rineau be467e7958 This operator>> is really badly written.
When istream::getline reaches the EOF, it sets the failbit. Then it must
be cleared, so that a successful read does not return a failed stream.
2014-01-06 15:36:57 +01:00
Andreas Fabri 5ff303803a remove unused parameters 2013-03-12 09:55:38 +01:00
Andreas Fabri fde05660f2 put entire loop in an #ifndef CGAL_NO_ASSERTIONS 2013-03-04 14:35:02 +01:00
Andreas Fabri b3b1aee424 class -> struct 2013-03-04 14:28:29 +01:00
Andreas Fabri feb7a73657 static_cast 2013-03-01 14:26:06 +01:00
Andreas Fabri c751ac0cc0 removed unused parameter name 2013-02-28 16:44:40 +01:00
Laurent Rineau d19578725b Fix warnings 2013-02-07 18:15:23 +01:00
Eric Berberich 681f282d77 Fix by Daniel Russel to make testsuite greener
Raise "NUMERICAL ISSUE" instead of "WARNING". The latter made some 
rows of the testsuite completely yellow. Fix has been tested locally.
2012-10-09 12:55:09 +00:00
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +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
Sébastien Loriot e5a96255ba *remove warnings.
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings. 
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +00:00
Laurent Rineau 3c110e9771 Fix pedantic errors: extra ';' 2010-12-10 10:00:40 +00:00
Laurent Rineau d5c660832a Fix compilation error after one of my previous commits (about mirror_edge). 2010-12-01 10:51:04 +00:00
Marc Glisse 77cfc7e02a remove extra ';' 2010-11-30 10:05:22 +00:00
Laurent Rineau aced534160 Fix warnings about unused variables. 2010-11-29 12:32:22 +00:00
Daniel Russel 0311e3f96e remove unused variables 2010-11-18 15:48:09 +00:00
Laurent Rineau 82171d1e91 Patch so that KDS no longer uses deprecated code (mirror_index and
mirror_vertex from Triangulation_face_base).
2010-11-12 15:17:09 +00:00
Laurent Rineau c6d77ff3af Partial revert of revision 58795 for <CGAL/Kinetic/Sort.h>. I had commited debug things from my working copy 2010-09-22 22:20:13 +00:00
Laurent Rineau 113141506d Fixes for CLang (more C++ conformance) 2010-09-22 16:24:04 +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
Daniel Russel afb06904f4 remove extra ; 2010-06-01 15:22:32 +00:00
Andreas Fabri 84943419b0 Remove ';' 2010-05-17 14:09:39 +00:00
Andreas Fabri 8cf605f3eb Use '.' instead of '->' 2010-05-17 10:39:00 +00:00
Andreas Fabri d358eb315a Add 'using' for ansi compliance 2010-05-17 10:34:49 +00:00
Sylvain Pion 58910703cb Remove spurious extra ";". 2009-11-16 12:05:02 +00:00
Sylvain Pion 5fda817f95 Remove a few "warning: extra ';'" with g++ -pedantic. 2009-11-14 11:49:52 +00:00
Laurent Rineau 83912b2952 Massive fix of svn:keywords properties, and $URL$ keyword. 2009-10-20 08:59:26 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Sylvain Pion 7ad4cdfa4b Avoid a deprecated interface for incident_face(). 2009-05-08 09:24:17 +00:00
Sylvain Pion 23f1b98350 typos and related. 2009-04-08 11:40:21 +00:00
Daniel Russel 00ee3ddb1f do not use deprecated vh->degree() call 2009-01-08 16:44:49 +00:00
Daniel Russel 1a57abab2e fix typo, didn't test build on this branch 2009-01-06 15:02:02 +00:00
Daniel Russel e8f4820be7 mirror-index went away 2009-01-05 23:16:31 +00:00
Daniel Russel ecf72f5db2 fix bad conversion on push back on some platforms 2009-01-05 19:45:21 +00:00
Daniel Russel 961dee39fb properly handle event times which don't support infinity 2008-09-29 16:59:08 +00:00
Daniel Russel 07dfe8bf8c Skip printing null key. Not sure why that escaped so long 2008-09-26 19:57:57 +00:00
Daniel Russel 562b62e0a3 don't make intervals with inf 2008-09-26 19:18:11 +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 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Sylvain Pion 1d8779b171 Rename the following functions:
det2x2_by_formula
  det3x3_by_formula
  det4x4_by_formula
  det5x5_by_formula
  det6x6_by_formula
to:
  determinant

How cute...  a name independent of the dimension, and even readable !
2008-04-09 13:35:34 +00:00
Sylvain Pion 643ea487a0 Remove casts to Comparison_result.
They are useless since we merged the various enum types.
2008-04-09 12:46:22 +00:00