Commit Graph

52761 Commits

Author SHA1 Message Date
Laurent Rineau f202656ca4 Fix warnings in Aos_2
LLVM/clang can display warnings even for functions that are not used,
during the parsing of the code, before the compilation, when it can.

For example:

[...]/include/CGAL/Arr_tags.h:93:7: warning: unused variable 'missing__Left_side_category__assuming__Arr_oblivious_side_tag__instead' [-Wunused-variable]
      missing__Left_side_category__assuming__Arr_oblivious_side_tag__instead;
      ^
[...]/include/CGAL/Arr_tags.h:138:7: warning: unused variable 'missing__Bottom_side_category__assuming__Arr_oblivious_side_tag__instead' [-Wunused-variable]
      missing__Bottom_side_category__assuming__Arr_oblivious_side_tag__instead;
      ^
[...]/include/CGAL/Arr_tags.h:181:10: warning: unused variable 'missing__Top_side_category__assuming__Arr_oblivious_side_tag__instead' [-Wunused-variable]
    bool missing__Top_side_category__assuming__Arr_oblivious_side_tag__instead;
         ^
[...]/include/CGAL/Arr_tags.h:226:7: warning: unused variable 'missing__Right_side_category__assuming__Arr_oblivious_side_tag__instead' [-Wunused-variable]
      missing__Right_side_category__assuming__Arr_oblivious_side_tag__instead;
      ^
4 warnings generated.

With this commit, the functions 'missing__*_side_category()' are now
function *templates*. The compiler can not longer warn about the unused
variable. However, I have verified that it does warn if the function is
actually instanciated and used.
2013-03-01 10:45:22 +01:00
Andreas Fabri 9992ccf96c WARNING -> NUMERICAL ISSUES 2013-03-01 10:38:50 +01:00
Andreas Fabri 900ac238a8 add a static_cast 2013-03-01 10:26:29 +01:00
Andreas Fabri 1287047b9d remove the second parameter and not only its variable 2013-03-01 09:53:38 +01:00
Andreas Fabri 9a862fe795 remove unused parameter name 2013-03-01 09:43:21 +01:00
Andreas Fabri 50c4c6e494 bug fix for clang / Most_vexing_parse 2013-03-01 09:15:17 +01:00
Andreas Fabri 2c8c044db5 use variables to avoid clang warning 2013-03-01 09:01:27 +01:00
Andreas Fabri 455190a2e4 removed one parameter too much 2013-03-01 08:55:10 +01:00
Nico Kruithof 1442e12512 Fixing compiler warnings with strict CXXFLAGS 2013-03-01 08:06:59 +01:00
Nico Kruithof 1e2970799c Fixed doxygen warnings 2013-03-01 08:01:23 +01:00
Nico Kruithof 8453a635b1 Fixing compiler warnings 2013-02-28 21:14:17 +01:00
Guillaume Damiand f3c4f7a319 * Create a group for classes in CMap doc doxygen version.
* Move figure pdf and xfig versions in subdir.
2013-02-28 20:55:35 +01:00
Nico Kruithof d1bb7d7bc8 remove debug log message 2013-02-28 20:40:36 +01:00
Nico Kruithof 468af1fbdb Fixed a compiler error in the demo 2013-02-28 20:37:44 +01:00
Nico Kruithof 3dced96b93 Cleaning up the documentation 2013-02-28 20:29:19 +01:00
Laurent Rineau 5643f32d0a Minor: quote a variable that contains a directory path 2013-02-28 18:07:54 +01:00
Sébastien Loriot 563273dcd0 fix link 2013-02-28 17:55:24 +01:00
Sébastien Loriot e814a00f88 add configuration files for the testsuites on picasso 2013-02-28 17:39:25 +01:00
Andreas Fabri e8b191fd87 removed unused parameter name 2013-02-28 17:33:06 +01:00
Andreas Fabri b315c05781 avoid 'warning: equality comparison result unused [-Wunused-comparison]' 2013-02-28 17:22:52 +01:00
Guillaume Damiand cb833a4491 Merge branch 'master' of ssh://scm.cgal.org/var/git/cgal 2013-02-28 17:21:19 +01:00
Guillaume Damiand 8734f2cf51 Doxygen version of the CMap doc. 2013-02-28 17:19:11 +01:00
Laurent Rineau bc7e2a1d71 Merge remote-tracking branch 'origin/Mesh_3-improvements-GF' into Mesh_3-improvements-GF-new
Mesh_3-improvements-GF-new is fresh fork of master

Conflicts:
	.gitattributes
	AABB_tree/include/CGAL/AABB_tree.h
	GraphicsView/src/CGAL_Qt4/DemosMainWindow.cpp
	Mesh_3/include/CGAL/Mesh_3/C3T3_helpers.h
	Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h
2013-02-28 17:10:16 +01:00
Andreas Fabri c751ac0cc0 removed unused parameter name 2013-02-28 16:44:40 +01:00
Andreas Fabri 84a7061b15 remove unused parameter name 2013-02-28 16:40:57 +01:00
Laurent Rineau a2c9ee5c43 Enhance FindEigen3
1/ Check the version using 'find_package_handle_standard_args' internal
checking of version, instead of a home-made check.

2/ No need to add EIGEN3_INCLUDE_DIR in the cache, as find_path does it.

3/ Call 'find_package_handle_standard_args' even if EIGEN3_INCLUDE_DIR is
already and valid in the cache.
2013-02-28 12:44:30 +01:00
Laurent Rineau 91461bb242 Amend the .gitignore file 2013-02-28 10:46:46 +01:00
Laurent Rineau 061c4523a3 Merge branch 'Installation-better_test_gmp_mpfr_dll-lrineau' 2013-02-28 10:45:28 +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 479f78b033 int -> ptrdiff_t/size_t 2013-02-28 09:46:54 +01:00
Andreas Fabri 33549c2e02 static_cast<int> 2013-02-28 09:46:53 +01:00
Andreas Fabri 6531c0ba44 NULL -> 0 2013-02-28 09:46:51 +01:00
Laurent Rineau 220ddbf6b2 New macro CGAL_GCC_VERSION to help preprocessor conditionals on gcc version
And use it in <CGAL/refine_mesh_3.h>
2013-02-27 19:58:02 +01:00
Laurent Rineau ef37a934a6 Fix warning "_ri may be used uninitialized" 2013-02-27 19:35:56 +01:00
Laurent Rineau 403031ce7f Fix warnings 2013-02-27 18:21:24 +01:00
Andreas Fabri 34b112ca5d remove unused parameters 2013-02-27 17:16:39 +01:00
Andreas Fabri 776a8d66e0 unsigned int -> int 2013-02-27 14:28:47 +01:00
Andreas Fabri ea7b603572 remove unused parameter 2013-02-27 14:26:38 +01:00
Andreas Fabri 0f09c30b9b Cleanup: remove unused buggy code 2013-02-27 14:24:43 +01:00
Andreas Fabri 17f3472ecf remove unused variable 2013-02-27 14:02:33 +01:00
Andreas Fabri c9e15507a5 remove unused variable 2013-02-27 14:01:18 +01:00
Andreas Fabri 813b5df1f5 Comment an unused file static function 2013-02-27 13:59:15 +01:00
Andreas Fabri 6f08686b71 obvious fix in an unused function 2013-02-27 13:55:06 +01:00
Andreas Fabri 10e495d897 Replace WARNING with ATTENTION to avoid a 'W' in the testsuite page 2013-02-27 13:42:18 +01:00
Andreas Fabri 6c92f49150 add static_cast<int> 2013-02-27 13:37:00 +01:00
Andreas Fabri 0258aed350 fix an 'obvious', or should we call it 'stupid', bug ==:>- 2013-02-27 12:28:29 +01:00
Andreas Fabri cfd69b1490 long/int -> size_t 2013-02-27 11:44:55 +01:00
Nico Kruithof 6abe7fd5ef Fixing the interface 2013-02-26 21:21:53 +01:00
Nico Kruithof 3f34c0e976 Removed removal from the non-Delaunay triangulation 2013-02-26 21:07:18 +01:00