Commit Graph

325 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 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 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
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 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
Laurent Rineau 95c4307510 Fix the copyright/license header 2012-01-16 14:26:41 +00:00
Laurent Rineau cb2d3bbd64 Disable the warning about dll-interface needed for std::ofstream members
of Log::State
2011-10-21 10:49:38 +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
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 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
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
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
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
Marc Glisse 2256ae01e7 Trivial fixes for the testsuite. 2010-04-22 09:58:25 +00:00