Andreas Fabri
f61b711b72
As the top level functions write int into an output iterator
...
we internally replace the unsigned int and size_t with int
in order to avoid warnings for VC++
2013-02-13 12:20:04 +01:00
Andreas Fabri
858702433b
the multiplicity is an int not a std::size_t
2013-02-12 22:13:16 +01:00
Andreas Fabri
e3405423ff
replace int with bool
2013-02-12 22:12:28 +01:00
Andreas Fabri
a756bacff2
add static_cast / switch to size_t
2013-02-12 19:18:22 +01:00
Andreas Fabri
28b5b64347
no need for a variable for the exception
2013-02-12 19:17:36 +01:00
Andreas Fabri
64787d9b73
use bool instead of int
2013-02-12 19:16:01 +01:00
Andreas Fabri
dfea9e77dc
Add a 'f' after a number
2013-02-09 16:24:57 +01:00
Andreas Fabri
21fd50eeb7
Add a static_cast
2013-02-09 16:23:42 +01:00
Andreas Fabri
e44de39ada
switch from int to bool to avoid a performance warning
2013-02-08 18:16:53 +01:00
Andreas Fabri
0fccc8a246
compare with NULL, int -> size_t
2013-02-08 17:53:13 +01:00
Andreas Fabri
747d005898
Add static_casts
2013-02-08 17:52:14 +01:00
Laurent Rineau
51ea960be6
Fix warnings about unused types or variables.
2013-02-08 16:50:02 +01:00
Laurent Rineau
b7762bb6b5
Andreas commited the inclusion and use of vc_debug_hook. by error.
2013-02-08 16:49:14 +01:00
Laurent Rineau
61329abd7f
Fix bugs in test/Point_set_processing_3/read_test.cpp
...
1/ A compilation bug: in C++03, the constructor of std::ifstream cannot
take a std::string as filename argument. That constructor is available only
from C++11.
2/ The paths to the data files were wrong.
3/ Remove the useless commited cgal_test_with_cmake! As a matter of fact,
read_test.cpp was never tested by the daily testsuite because that file
cgal_test_with_cmake was commited and unmaintained.
2013-02-08 16:21:19 +01:00
Andreas Fabri
5afa7b080a
Put () around min and max
2013-02-08 16:13:23 +01:00
Andreas Fabri
99968b0461
Add static_cast<int>
2013-02-08 13:01:19 +01:00
Andreas Fabri
f8b8e7c643
0.1 -> 0.1f to avoid a warning
2013-02-08 12:45:30 +01:00
Andreas Fabri
99006a8e06
Add static_cast<int>
2013-02-08 12:43:15 +01:00
Andreas Fabri
7cf7aa063a
Add a static_cast<int>
2013-02-08 12:42:51 +01:00
Andreas Fabri
2ea8fab6eb
change return type from int to bool
2013-02-07 20:29:27 +01:00
Laurent Rineau
d19578725b
Fix warnings
2013-02-07 18:15:23 +01:00
Laurent Rineau
29c05b900b
Mark BOOST_STATIC_ASSERT with 'CGAL_UNUSED'
...
In order to fix such a warning from g++-4.8:
warning: typedef ‘boost_static_assert_typedef_241’ locally defined but
not used [-Wunused-local-typedefs]
then:
- create one macro CGAL_UNUSED that is "__attribute__ ((__unused__))"
with g++ or empty otherwise,
- use it after BOOST_STATIC_ASSERT in the definition of
CGAL_static_assertion.
2013-02-07 18:15:23 +01:00
Andreas Fabri
551acd15bf
don't compile examples listed in dont_submit
2013-02-07 17:33:33 +01:00
Andreas Fabri
afeea1e124
replace size_t with int in loops over the vertices of a cell
2013-02-07 17:26:32 +01:00
Andreas Fabri
d4b251c8fd
Use int as difference_type as it may only be in [-2, 2]
2013-02-07 16:01:48 +01:00
Andreas Fabri
b2ec8d925b
CGAL_USE_TYPE
2013-02-07 15:43:25 +01:00
Andreas Fabri
ccc38484d7
Merge branch 'CGAL-fix_warnings-gdamiand' of ssh://scm.cgal.org/var/git/cgal into CGAL-fix_warnings-gdamiand
2013-02-07 15:16:34 +01:00
Andreas Fabri
2740aa9c05
use size_type instead of int
2013-02-07 15:16:03 +01:00
Andreas Fabri
c6dd56cf0f
suppress a warning. The hypothetical problem cannot occur
2013-02-07 15:15:27 +01:00
Andreas Fabri
462ad57712
Remove a declaration without definition
2013-02-07 15:13:48 +01:00
Laurent Rineau
01db7d30af
Fix the fix of a warning
2013-02-07 12:51:55 +01:00
Andreas Fabri
c029f702a3
use more types
2013-02-07 11:02:14 +01:00
Andreas Fabri
61afcbbd9b
replace define
2013-02-06 20:09:12 +01:00
Andreas Fabri
f2d708efa3
Merge branch 'CGAL-fix_warnings-gdamiand' of ssh://scm.cgal.org/var/git/cgal into CGAL-fix_warnings-gdamiand
2013-02-06 17:06:15 +01:00
Andreas Fabri
4720c7ad0a
remove a typedef
2013-02-06 17:05:29 +01:00
Laurent Rineau
e87dad0f95
Fix all warnings in demo/Polyhedron/
...
The compilation was fix g++-4.8, and the flags:
--std=c++11 -frounding-math Wall -Wno-array-bounds -Wno-uninitialized
2013-02-06 17:03:20 +01:00
Andreas Fabri
81eb67270c
bug fix
2013-02-06 16:55: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
27812333bf
more CGAL_USE_TYPE
2013-02-06 15:53:02 +01:00
Andreas Fabri
9626e40e33
one CGAL_USE_TYPE too much
2013-02-06 08:45:49 +01:00
Andreas Fabri
61bb99e2f1
use types
2013-02-04 22:39:00 +01:00
Andreas Fabri
13bac84716
less warnings in various packages
2013-02-01 10:27:07 +01:00
Andreas Fabri
93e7fe275b
less warnings in Triangulation_3
2013-01-31 15:50:13 +01:00
Andreas Fabri
c59152f478
simplification
2013-01-31 15:09:20 +01:00
Andreas Fabri
72bbb807be
less warnings in the Kernel testsuite
2013-01-31 15:06:04 +01:00
Andreas Fabri
65b74a8437
Add a file that tests nested types required by the Kernel comcept (for now RT)
2013-01-31 14:47:03 +01:00
Andreas Fabri
ea299439a8
deal with Kernel examples
2013-01-31 14:27:31 +01:00
Andreas Fabri
e1fb061598
first usage of CGAL_USE_TYPE
2013-01-31 14:16:08 +01:00
Laurent Rineau
5ddbb68176
Add the macro CGAL_USE_TYPE(), and a test for <CGAL/use.h>
2013-01-31 14:08:36 +01:00
Andreas Fabri
ee5b4683d0
deal with Triangulation_3, Polyhedron,Voronoi, Minkowski_sum_3
2013-01-31 09:47:54 +01:00