Commit Graph

236 Commits

Author SHA1 Message Date
Philipp Möller aeeca8ea51 Remove the testfile CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG 2012-12-11 17:47:21 +01:00
Laurent Rineau 0a081c2abd Add an option to check the syntax of headers, individually.
That feature can be enabled with g++, clang++, and icpc (intel). It could
be implemented for MSVC, with the flag /Zs, but that is not yet done (and
probably will not).

The option is controlled by a CMake option, CGAL_ENABLE_CHECK_HEADERS, that
is disabled by default. If that option is enabled by the user, then CMake
will check if the compiler $CXX understand the syntax:
  $CXX -x c++ -fsyntax-only CGAL/header.h
and send an error otherwise.

Then phony targets will be created:
  - a target check_CGAL__header_h for each header <CGAL/header.h>,
  - a target check_pkg_<pkg> for each package <pgk>,
  - and a target check_headers for the whole CGAL.

Those new targets currently give a lot of compilation errors if
CGAL_ENABLE_CHECK_HEADERS is enabled!

+ fix several missing includes in Mesh_2.
2012-10-05 12:21:44 +00:00
Laurent Rineau 0119096826 Add a comment that the config test is deprecated and could be removed. 2012-06-14 14:57:19 +00:00
Philipp Möller 91fb092984 Unused without replacement as it is not used and also not widely
supported yet.
2012-06-12 12:32:57 +00:00
Philipp Möller 9bcc3c028e Removed NO_MESSAGE_PRAGMA_BUG as it is unused. 2012-05-20 15:14:43 +00:00
Marc Glisse ad2e67797a next, prev, copy_n in C++11. 2012-05-20 15:09:15 +00:00
Philipp Möller 14f9ac3f68 LONGNAME is not used anywhere. 2012-05-20 14:25:46 +00:00
Marc Glisse 41a378456a now unused 2012-05-20 14:20:10 +00:00
Marc Glisse c26419086e CGAL_CFG_NO_STATEMENT_EXPRESSIONS only for gcc 2012-05-20 14:15:03 +00:00
Marc Glisse 0d7ef953b3 one more 2012-05-20 13:33:32 +00:00
Philipp Möller 44d4f5c7f0 Removed after confirming with Laurent that it is never used. 2012-05-20 13:33:15 +00:00
Philipp Möller ce1e373761 Remove 0x_tuple but not the tr1 equivalent. 2012-05-20 13:27:31 +00:00
Philipp Möller dde4353e15 Those are also already replaced. 2012-05-20 13:25:33 +00:00
Philipp Möller a621ff3f6b Remove the first batch of files that are no longer needed. 2012-05-20 13:23:33 +00:00
Philipp Möller f54c490220 Also remove the testfile. 2012-05-07 08:42:08 +00:00
Laurent Rineau 7c64fe7394 Add versioninfo to created DLLs. 2011-10-25 15:17:08 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Sébastien Loriot 7ec484eac7 merge next into feature branch 2011-09-09 06:44:09 +00:00
Philipp Möller 59f1d6cc7f Added testfile to check for next/prev 2011-06-07 10:58:07 +00:00
Philipp Möller 5fc500a6a3 testfile to check for copy_n 2011-05-26 15:34:36 +00:00
Laurent Rineau 3830e12684 Add a check that isfinite is *not* a macro, otherwise #error 2011-05-24 12:48:07 +00:00
Marc Glisse 399e75b7f8 Add CGAL_CFG_NO_CPP0X_STATIC_ASSERT to the g++-4.3 list and fix a typo. 2011-05-11 10:14:02 +00:00
Laurent Rineau b4bf7e3f58 merge from trunk 2011-04-20 13:56:23 +00:00
Marc Glisse 811d1f8f03 New test, for C++0x static_assert. 2011-04-16 17:48:59 +00:00
Marc Glisse 41ae50ab01 New testcase for sunCC 2011-04-16 16:05:28 +00:00
Marc Glisse 912e0a5ddc forward/move are in <utility>, not <algorithm> 2011-04-16 15:55:22 +00:00
Eric Berberich eb7a5ed11e branch-build is now HOT on next ;-) 2011-04-15 09:12:06 +00:00
Luis Peñaranda 9725595f60 updated my mail address 2011-03-22 08:07:15 +00:00
Laurent Rineau b816b9a965 The test for C++0x rvalue reference was too basic
LLVM Clang compiler does support the rvalue reference syntax, but the C++
library it uses may have, or not, std::move and std::forward.
2011-03-14 14:08:04 +00:00
Laurent Rineau 3fc0da45ed More complicated test, to that the Intel Compiler is not considered to have
statement expressions.
2011-03-02 10:20:44 +00:00
Laurent Rineau 0f8ab08585 Fix: do not detect clang as a gcc version. 2010-09-22 16:02:12 +00:00
Marc Glisse 94d2f014f7 Don't test the C++0X auto on int, because sunCC implicitly uses int with
the old meaning of auto.
2010-07-18 18:03:30 +00:00
Laurent Rineau 7d57644b59 Add two new test files. 2010-05-11 10:08:08 +00:00
Sylvain Pion eda28b5670 Add comment. 2010-04-26 10:05:13 +00:00
Laurent Rineau 961a02172e VC7 is no longer supported. The macro CGAL_CFG_NET2003_MATCHING_BUG is not used anywhere. 2010-03-29 09:46:55 +00:00
Laurent Rineau 5fbbe1ebd6 Reverse that temporarily revision: the trunk is too red (for other reasons)
to see anything in the testsuite results!
------------------------------------------------------------------------
r54956 | lrineau | 2010-03-26 18:59:50 +0100 (Fri, 26 Mar 2010) | 2 lines

Temporary test to see if MSVC 2008 still suffer from CGAL_CFG_MATCHING_BUG_6

------------------------------------------------------------------------
2010-03-29 09:12:07 +00:00
Laurent Rineau 6146c38c81 Temporary test to see if MSVC 2008 still suffer from CGAL_CFG_MATCHING_BUG_6 2010-03-26 17:59:50 +00:00
Laurent Rineau ca1aaeabe1 Document with which compilers the workaround is for. 2010-03-26 17:19:18 +00:00
Laurent Rineau 4fe4a65f6c - Fix try_run in CGAL_UseMPFI.cmake: move the test file in cmake/modules/. 2010-03-18 10:32:49 +00:00
Laurent Rineau 502a259822 test files should not use assert (NDEBUG might be defined). 2010-03-17 14:49:41 +00:00
Luis Peñaranda 50b490fd26 Added test to see whether the installed version of MPFI works. 2010-03-17 14:28:15 +00:00
Sylvain Pion aaf3c4666a 3 more C++0x features detection :
- CGAL_CFG_NO_CPP0X_AUTO
- CGAL_CFG_NO_CPP0X_INITIALIZER_LISTS
- CGAL_CFG_NO_CPP0X_LAMBDAS
2010-01-18 17:52:28 +00:00
Sylvain Pion 82ea7077bf Add #error. 2009-11-16 16:44:37 +00:00
Sylvain Pion 19a5490ea4 Kill a warning of gcc in -pedantic mode. 2009-11-13 12:20:21 +00:00
Laurent Rineau 5d63686b5a Add a test file that tests if the compiler supports the C++ keywords "and", "or", "not", and "not_eq". 2009-10-16 09:15:46 +00:00
Sylvain Pion c15fe06491 New test file for a bug in array data member initilization. 2009-08-14 11:39:14 +00:00
Laurent Rineau ab03f7cf80 Add support for the Intel Compiler version 11.0 and after:
-fp-model strict must be added to the compiler flags.
2009-07-09 09:55:53 +00:00
Sylvain Pion 92f2d85b65 Refines the test so that it fails at link when using a wrong std::string,
since std::string appears in the ABI of Boost.PO.
This happens with GCC's parallel or debug mode.
(admittedly, a further refinement could be to have 2 test programs,
but it's probably an overkill).
2009-05-05 15:25:31 +00:00
Sylvain Pion a83bed9d19 Refine GCC version check so that it applies to trunk (4.5) and later.
Remove some useless comments.
2009-05-05 14:27:57 +00:00