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)".
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
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.
* 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