mirror of https://github.com/CGAL/cgal
Oops!
This commit is contained in:
parent
90aa157c7b
commit
5df371c0c1
|
|
@ -563,11 +563,11 @@ typedef const void * Nullptr_t; // Anticipate C++0x's std::nullptr_t
|
|||
// https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
|
||||
#if __has_cpp_attribute(fallthrough)
|
||||
# define CGAL_FALLTHROUGH [[fallthrough]]
|
||||
#elseif __has_cpp_attribute(gnu::fallthrough)
|
||||
#elif __has_cpp_attribute(gnu::fallthrough)
|
||||
# define CGAL_FALLTHROUGH [[gnu::fallthrough]]
|
||||
#elseif __has_cpp_attribute(clang::fallthrough)
|
||||
#elif __has_cpp_attribute(clang::fallthrough)
|
||||
# define CGAL_FALLTHROUGH [[clang::fallthrough]]
|
||||
#elseif __has_attribute(fallthrough)
|
||||
#elif __has_attribute(fallthrough)
|
||||
# define CGAL_FALLTHROUGH __attribute__ ((fallthrough))
|
||||
#else
|
||||
# define CGAL_FALLTHROUGH while(false){}
|
||||
|
|
|
|||
Loading…
Reference in New Issue