gcc has an option -isystem, that can replace -I. The documentation is:
-isystem dir
Search dir for header files, after all directories specified by -I but
before the standard system directories. Mark it as a system directory,
so that it gets the same special treatment as is applied to the
standard system directories. If dir begins with "=", then the "=" will
be replaced by the sysroot prefix; see --sysroot and -isysroot.
The "special treatment" means that gcc will not warn about constructions in
headers in directories pointed by -isystem instead of -I.
In the CGAL testsuite, there are a lot of warnings that comes from
third-party libraries (mostly from Boost, but also from Eigen).
This patch tells cmake to use -isystem with gcc, for all CGAL 3rd-party
directories.
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch
........
r53794 | spion | 2010-01-26 11:02:56 +0100 (Tue, 26 Jan 2010) | 6 lines
Undo revision 53764, since it triggered problems in the Surface_mesher test-suite
(probably a bug there, but it's a bit late to investigate before 3.6-beta) :
Improve locate() reproducibility. (backport of trunk's revision 53763).
........
r53805 | spion | 2010-01-26 17:09:59 +0100 (Tue, 26 Jan 2010) | 9 lines
Backport trunk revisions 53799 and 53804 :
Make locate() deterministic using Boost RNGs.
The previous approach using a local CGAL::Random failed because it still uses a
global state through drand48()...
Replace CGAL::Random by Boost RNG (with geometric distribution)
in the hierarchy as well, to avoid global state sharing issues.
........
r53807 | penarand | 2010-01-26 19:32:31 +0100 (Tue, 26 Jan 2010) | 3 lines
set RS compilation flag in Mac OS when using g++<4.3
........
r53812 | penarand | 2010-01-27 09:32:13 +0100 (Wed, 27 Jan 2010) | 3 lines
removed extra ';' from _test_polynomial_traits_d.h
........
r53818 | lrineau | 2010-01-27 14:43:08 +0100 (Wed, 27 Jan 2010) | 8 lines
Merge from trunk:
| ------------------------------------------------------------------------
| r53811 | afabri | 2010-01-27 09:20:18 +0100 (Wed, 27 Jan 2010) | 1 line
|
| Switch from CGAL::Random to boost::rand48 as T3 did so
| ------------------------------------------------------------------------
........