The CMake script was only testing if the sub-directory auxiliary/taucs/
existed. That directory exists in Git for a while, because we ship a README
file in it. Now the CMake script checks for auxiliary/taucs/include/. That
is as naive as before but at least it will work.
| commit f202656ca4
| Author: Laurent Rineau <laurent.rineau@cgal.org>
| Date: Fri Mar 1 10:45:02 2013 +0100
|
| 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.
Aos_2 has two constructors and I had modified the code in only one of them.
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.