Commit Graph

64 Commits

Author SHA1 Message Date
Laurent Rineau 7177fa5a63 Add a check that NDEBUG is not defined by test platforms 2012-01-25 11:14:17 +00:00
Laurent Rineau dfba14f23c Rename <CGAL/$LIB/export.h> to <CGAL/export/$LIB.h> 2011-10-12 09:43:19 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Laurent Rineau 3d3662850e <CGAL/export.h> must be included *after* <CGAL/compiler_config.h>
because CGAL_BUILD_SHARED_LIB is defined in the later.
2011-10-07 14:26:14 +00:00
Andreas Fabri cbfe32ce37 Add declspecs for Visual C++ so that we can build dlls 2011-10-05 19:12:23 +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
Laurent Rineau 32883cfb33 Revert my revision 57078. That was stupid: undefined macros will also
trigger a compilation error!
2010-06-24 16:57:37 +00:00
Laurent Rineau f0438cad2c Turn #warning into #error. This is only for SunPro with an incorrect STL. 2010-06-24 16:10:24 +00:00
Laurent Rineau f306daec83 Sort of poisoning of CGAL_(BEGIN|END)_NAMESPACE when
CGAL_NO_DEPRECATED_CODE is defined.
2010-06-24 16:07:39 +00:00
Sylvain Pion 93f042b6d7 Fix indentation. 2010-06-10 16:14:31 +00:00
Sébastien Loriot 825835fc74 CGAL namespace macro inside CGAL_NO_DEPRECTED_CODE if statement 2010-06-09 11:56:53 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Laurent Rineau 0bda1d5591 Disable CGAL_Core if void* is size 8 (ie 64 bits). 2010-03-19 14:15:25 +00:00
Sylvain Pion 99be0d6d21 Post-process the CGAL_CFG_NO_CPP0X_* flags for GCC when -std=c++0x is set. 2010-01-18 18:08:14 +00:00
Sylvain Pion 7a1276a751 Generate warning on MacOSX for g++-4.0 and optimization. 2009-12-03 10:16:09 +00:00
Sylvain Pion dd9a147db5 RW STL : turn the #error into a #warning. 2009-05-26 08:18:11 +00:00
Sylvain Pion 9601658698 New config testfile to check for some C++0x feature.
gcc supports it at least in C++0x mode.
2008-12-09 14:56:51 +00:00
Sylvain Pion 1498ef01c6 Add a macro CGAL_NO_DEPRECATION_WARNINGS that disables CGAL_DEPRACATED.
(can be used by users temporarily, while they have not updated their code,
but still want to work in good conditions)
2008-07-28 18:10:41 +00:00
Sylvain Pion eff6efd3af CGAL_NULL and CGAL_NULL_TYPE are now constant macros, so replace them by:
- CGAL_NULL -> NULL
- CGAL_NULL_TYPE -> CGAL::Nullptr_t (typedef to const void *)
2008-07-12 21:58:52 +00:00
Fernando Cacciola ecb77a9897 Revert screw up of CGAL_HAS_THREADS 2008-05-28 16:19:23 +00:00
Sylvain Pion 110a5db8be Rename all C++0x related config macros to consistently have CPP0X in their name,
as in CGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES.
2008-05-21 15:34:36 +00:00
Fernando Cacciola 17c33bcd93 Avoid linking against boost-thread if that lib has not been built 2008-04-08 19:28:16 +00:00
Sylvain Pion 939eb6384e Attempt at using a common definition for CGAL_NULL and CGAL_NULL_TYPE,
not something with a GCC specific case.
2008-04-03 12:32:44 +00:00
Sylvain Pion a8243a3f12 Introduce a new macro CGAL_SUNPRO_INITIALIZE to workaround a SunPRO warning properly.
(can't write a test program for a warning)
2008-01-20 21:39:25 +00:00
Sylvain Pion 4d1b8d63e3 Remove workarounds and support for the BORLAND compiler. 2008-01-20 20:24:20 +00:00
Sylvain Pion 06131a8eb9 Remove obsolete definition of CGAL_USE_CGAL_WINDOW 2008-01-10 18:19:26 +00:00
Sylvain Pion 0d04db797e CGAL_CFG_DONT_OVERLOAD_TOO_MUCH is only needed by SunPRO. 2008-01-03 16:47:40 +00:00
Sylvain Pion 64f23bbc47 Sun_fixes.h is now so small, let's merge it in config.h. 2008-01-03 15:26:51 +00:00
Sylvain Pion 2b46416907 Remove more SUNPRO + RW's STL obsolete workarounds:
CGAL_CFG_SUNPRO_RWSTD (partially)
CGAL_reverse_iterator()
2008-01-03 15:04:30 +00:00
Sylvain Pion 88ed563f44 Remove some workarounds for SunPRO + RW's STL:
CGAL_CFG_MISSING_TEMPLATE_VECTOR_CONSTRUCTORS_BUG
CGAL_CFG_RWSTD_NO_MEMBER_TEMPLATES  (partially so far)
CGAL_make_vector
CGAL_make_list
2008-01-03 14:50:13 +00:00
Sylvain Pion accdf57415 CGAL_CFG_NO_LONG_DOUBLE_IO is not needed anymore (pgCC is fixed). 2008-01-02 16:35:13 +00:00
Sylvain Pion 8ab2fe93bb Move definitions of CGAL_NULL and CGAL_NULL_TYPE from circulator.h to config.h. 2007-12-28 15:46:09 +00:00
Sylvain Pion 119bc8b9f1 Add CGAL_NORETURN macro to be able to use __attribute__ ((__noreturn__)). 2007-11-05 10:56:36 +00:00
Sylvain Pion c5ad51a83c Add CGAL_HAS_THREADS. 2007-10-18 15:00:08 +00:00
Ophir Setter c767849dad Supporting only microsoft VC7.1 and up 2007-09-05 18:38:38 +00:00
Ophir Setter 7611ee977a Added deprecated macro 2007-09-05 18:32:46 +00:00
Laurent Saboret 84e925e42d Undo rev 40102 2007-09-03 08:05:09 +00:00
Laurent Saboret 7a4809dc5c TEMPORARY (until CGAL 3.4 Windows installer is out): add back CGAL_LIB_STD and CGAL_WRAP for VisualC++ developers who link against CGAL 3.3. 2007-08-29 09:51:04 +00:00
Marc Glisse b3a43d3c7f Same workaround for list constructor as for vector constructor. 2007-08-28 09:46:21 +00:00
Marc Glisse dc69975886 This version of the sunpro workaround should work as well, and if it does
it will be possible to use it in more places than the current version.
2007-08-27 10:14:29 +00:00
Sylvain Pion 4da7713aa8 Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Sylvain Pion a90de08bf3 Remove obsolete config flag CGAL_CFG_MATCHING_BUG_4 and its dependency CGAL_WRAP. 2007-08-08 15:15:20 +00:00
Andreas Fabri 0adb373823 cleanup 2007-05-14 09:26:09 +00:00
Andreas Fabri be1964a6ec Cleanup 2007-04-10 08:26:57 +00:00
Sylvain Pion 667fc845ef Introduce a nicer macro CGAL_make_vector(begin, end) to workaround
CGAL_CFG_MISSING_TEMPLATE_VECTOR_CONSTRUCTORS_BUG.
2007-04-02 20:18:57 +00:00
Fernando Cacciola 135fd54f1c Removed unneeded MSVC std fixes 2007-04-02 19:08:46 +00:00
Joachim Reichel 157b8482c4 use <endian.h> for all glibc-based platforms 2007-03-27 17:05:39 +00:00
Joachim Reichel f038ffdd56 drop support for external CORE 2007-03-20 19:09:33 +00:00
Marc Glisse b1d0456201 I added the check on __i386 for sunCC but it is supposed to define
__i386__ as well (though it is buggy right now) so remove.
2007-03-20 16:15:56 +00:00
Marc Glisse dc3364c65a Basics for sunpro on linux-x86. I will touch FPU.h again later. 2007-03-19 18:25:06 +00:00