Author: Armin Rigo <[email protected]> Branch: use-gcc Changeset: r1767:13142d2f1448 Date: 2015-05-24 11:14 +0200 http://bitbucket.org/pypy/stmgc/changeset/13142d2f1448/
Log: improve error message on a non-patched gcc diff --git a/c7/stmgc.h b/c7/stmgc.h --- a/c7/stmgc.h +++ b/c7/stmgc.h @@ -23,9 +23,11 @@ #ifdef __SEG_GS /* on a custom patched gcc */ # define TLPREFIX __seg_gs # define _STM_RM_SUFFIX :8 -#else +#elif defined(__clang__) /* on a clang, hopefully made bug-free */ # define TLPREFIX __attribute__((address_space(256))) # define _STM_RM_SUFFIX /* nothing */ +#else +# error "needs either a GCC with __seg_gs support, or a bug-freed clang" #endif typedef TLPREFIX struct object_s object_t; _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
