Commit Graph

343 Commits

Author SHA1 Message Date
Simon Giraudot f21cb46900 Remove deprecated "register" keyword 2015-12-17 08:20:56 +01:00
Laurent Rineau 7612345f2f Trivial fix: add newline at EOF
There was a warning with gcc 4.1.2, on CentOS 5:
```
In file included from /mnt/testsuite/include/CGAL/Kinetic/Active_objects_vector.h:27,
                 from /mnt/testsuite/include/CGAL/Kinetic/Exact_simulation_traits.h:27,
                 from /home/cgal_tester/build/src/cmake/platforms/CentOS5/test/Kinetic_data_structures/Delaunay_triangulation_3.cpp:7:
/mnt/testsuite/include/CGAL/Kinetic/internal/debug_counters.h:79:33: warning: no newline at end of file
```
2015-11-05 11:12:57 +01:00
Sebastien Loriot 2e493f297b Merge pull request #389 from afabri/CGAL-Qt3-GF
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Laurent Rineau 330a0e75a2 Merge pull request #385 from cjamin/CGAL_headers_only-gdamiand_cjamin
CGAL headers only, step 0
2015-10-13 16:37:38 +02:00
Andreas Fabri 5306f7b7f2 Use CGAL_assertion_code() to avoid warnings 2015-10-08 09:28:35 +02:00
Sébastien Loriot 4787bda61f remove documented widget based on Qt3 2015-10-05 15:20:06 +02: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
Sébastien Loriot 894ee557a6 Merge branch 'local/Fix_warnings'
fix various warnings

Tested in CGAL-4.7-Ic-94
2015-07-23 14:45:05 +02:00
Sébastien Loriot 6dc5695989 remove unused variable warning 2015-07-22 15:47:23 +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 4bbe2a82e9 Add missing #include; add some case IO::PRETTY to avoid some warning. 2015-06-12 14:08:29 +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
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
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
Clement Jamin ff79502a72 In a class, we should using "static" functions 2014-12-16 11:28:16 +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 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