Commit Graph

10 Commits

Author SHA1 Message Date
Guillaume Damiand e2ce91fa42 One more file (Geomview_stream.cpp) 2014-11-04 18:42:29 +01:00
Laurent Rineau 1e1cb3747a Silent warnings -Wunused-result of g++-4.7
Pointed out by Joachim:
  | Date: Sun, 10 Jun 2012 17:43:27 +0200
  | From: Joachim Reichel <joachim.reichel@gmx.de>
  | To: Laurent Rineau <laurent.rineau@geometryfactory.com>
  | Subject: silence warnings caused by -Wunused-result
  | 
  | Hi Laurent,
  | 
  | your changes in 61145 and 61146 to silence the warnings in the Geomview
  | package don't work with gcc 4.7.0 and -Wunused-result. I still see
  | 
  | src/CGAL/Geomview_stream.cpp:148:35: warning: ignoring return value of
  | 'ssize_t read(int, void*, size_t)', declared with attribute
  | warn_unused_result [-Wunused-result]
  | 
  | Maybe one really needs to use
  | 
  | int result = read(...)
  | (void) result;
  | 
  | to silence the warnings.
  | 
  | Joachim

I have not been able to reproduce that with my compiler "g++-trunk (GCC)
4.8.0 20120611 (experimental)".
2012-06-11 15:19:15 +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
Laurent Rineau ab9f2347ba Fix the previous commit. Better patch to kill warnings about ignored
returned value.
2011-02-09 17:27:09 +00:00
Laurent Rineau 184c124125 Patch to kill warnings about "ignoring return value of...".
The patch does not solve the issue pointed out by the warning, though. We
no longer maintain the Geomview_stream class.
2011-02-09 17:22:32 +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
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +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 d2740513aa Use .cpp file extension instead of .C for src/*/* files. 2006-04-14 09:19:29 +00:00