christian.heimes email@example.com wrote:
+/* ASM isn't available in strict ansi C mode */ +#if defined(ASM) && defined(__STRICT_ANSI__)
- #undef ASM
- #define ANSI
I'm not too fond of this solution: the libmpdec build output should always be accurate. Now you have ...
-ansi -DCONFIG_64=1 -DASM=1
... but the build is silently non-asm.
Like for pymath.c, __asm__ is tested for and selected in ./configure. So I'll replace asm with __asm__, same as in pymath.c and ceval.c.
If anyone wants to force either an ANSI build or a specific libmpdec configuration, setup.py recognizes this environment variable (example):
The supported configurations listed here: