COMP: reduce compiler warnings for gcc-7

- ignore implicit-fallthrough for ragel generated code.

- add -Wno-deprecated-declarations for c++LESSWARN.
  These principally associated with older CGAL versions and their use
  of particular mpfr routines.
This commit is contained in:
Mark Olesen
2018-07-24 09:29:01 +02:00
parent fe808e24e7
commit 94a89d530a
5 changed files with 235 additions and 222 deletions

File diff suppressed because it is too large Load Diff

View File

@ -33,6 +33,9 @@ Description
#include "STLReader.H"
#include "OSspecific.H"
// Ragel switch/case logic may have several implicit fallthroughs
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
// https://en.wikipedia.org/wiki/STL_%28file_format%29#ASCII_STL
//
// Format