Lisandro Dalcin schrieb am 13.10.2017 um 21:42: > This is from a conda-forge build of petsc4py on Travis-CI with > "osx_image: xcode6.4" > > https://travis-ci.org/conda-forge/petsc4py-feedstock/jobs/287563030 > > > Maybe a better definition is the one below? > > #ifndef CYTHON_FALLTHROUGH > #if defined(__clang__) && __has_attribute(fallthrough) > #define CYTHON_FALLTHROUGH __attribute__((fallthrough)) > #elif defined(__GNUC__) && defined(__attribute__) > #define CYTHON_FALLTHROUGH __attribute__((fallthrough)) > #else > #define CYTHON_FALLTHROUGH > #endif > #endif
Applied it here: https://github.com/cython/cython/commit/207d694ac2a580f02b28e216d0843308f5ad129b Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel