Commit Graph

100 Commits

Author SHA1 Message Date
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
Laurent Rineau 6405de3c08 Merged revisions 56829 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r56829 | lrineau | 2010-06-17 11:13:20 +0200 (Thu, 17 Jun 2010) | 2 lines
  
  Argl!! Important error in auto_link.h for MSVC 2010!
........
2010-06-17 09:43:01 +00:00
Sébastien Loriot d72337785c remove dependance on CGAL_PDB: merge from the branche created for that purpose
I do not remove the directory CGAL_PDB as I am allowed to use svn remove.
2010-06-10 17:26:38 +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 fcbd4fd872 Merged revisions 56638,56640 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r56638 | sloriot | 2010-06-08 13:27:58 +0200 (Tue, 08 Jun 2010) | 3 lines
  
  apply modify from r56637 to 3.6-branch
........
  r56640 | lrineau | 2010-06-08 14:51:20 +0200 (Tue, 08 Jun 2010) | 2 lines
  
  CMake/autolink patch for unofficial MSVC10 support.
........
2010-06-08 12:59:55 +00:00
Laurent Rineau 0bda1d5591 Disable CGAL_Core if void* is size 8 (ie 64 bits). 2010-03-19 14:15:25 +00:00
Laurent Rineau ef36d737af Fix Sylvain's patch r53663 2010-03-16 09:32:04 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +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
Laurent Saboret be09d80d95 * Bug fix: fixed compatibility of TAUCS/BLAS/LAPACK precompiled libraries with Visual C++ 9.0 2008:
CGAL 3.5 will include TAUCS/BLAS/LAPACK precompiled libraries for Visual C++ 8.0 and 9.0. 
Auto-link is modified accordingly.

* Also fixed compatibility of cgal_test_with_cmake.bat scripts with VC++ 9.0.
2009-08-26 16:23:28 +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
Laurent Rineau 4686cb8df4 Revert revision 47046. 2008-11-26 15:35:30 +00:00
Laurent Rineau 186cc049df Hardcode "vc80" as TOOLSET for gmp and mpfr. Those libraries are C
libraries (not C++) and we do not need to distinguish between versions of
VC for C libraries.
2008-11-26 11:33:30 +00:00
Laurent Rineau 8fc1ad743d Fix all auto-link names!
(Followup of revision 46204.)
2008-10-12 10:31:12 +00:00
Laurent Rineau 61ae23aadd Fix auto-linking of CGAL_Core 2008-10-11 10:32:24 +00:00
Laurent Rineau d8ebb21427 Add <CGAL/glu.h>, used for Windows and MacOS X compatibility. 2008-10-08 11:31:10 +00:00
Laurent Rineau 6c066dec2d Ooops!
CGAL-Qt3 autolink was broken since I renamed it!
2008-09-23 14:43:45 +00:00
Sylvain Pion dcefe2bffa Use <OpenGL/gl.h> on __APPLE__ also in the test program.
(why do people not use <CGAL/gl.h> in demos ?)
2008-09-08 11:40:39 +00:00
Fernando Cacciola f7adea31f0 Fix gl.h location for Apple 2008-09-01 13:38:01 +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
Laurent Rineau 2ce23ea470 Add a new header <CGAL/gl.h>, whose purpose is to wrap the #include of
GL/gl.h: on windows, <windows.h> has to be included first.

Image_3.cpp uses that header now.
2008-04-18 09:02:03 +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
Fernando Cacciola 2a2efa6450 Added support for Visual Studio 2008 2008-04-08 19:24:28 +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
Fernando Cacciola 9d5411bb18 Various CMake fixes 2008-02-12 20:36:56 +00:00
Fernando Cacciola 168a5fce48 Sync library names with those produced now by cmake 2008-02-08 17:27:25 +00:00
Andreas Fabri 52357e39bf name of library changed 2008-02-08 14:23:46 +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 f5a9c2d26e Finish removal of CGAL_CFG_SUNPRO_RWSTD obsolete workarounds. 2008-01-03 15:22:29 +00:00
Sylvain Pion 284cfd9468 More removal of SUNPRO+RW's STL obsolete workarounds:
CGAL_CFG_RWSTD_NO_MEMBER_TEMPLATES
2008-01-03 15:19:39 +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 73a75d109f SunPRO's RW STL is not supported anymore.
For now, move the corresponding config bits out of the main config files.
2008-01-02 17:49:08 +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