[Stackless] MacOS build error

Hervé Coatanhay herve.coatanhay at gmail.com
Wed Apr 2 16:19:53 CEST 2014


Hi all,

I was looking how to build MacOS installer and I encountered an error
during compilation.
MacOSX 10.9
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

--

gcc -c -fno-strict-aliasing -DSTACKLESS_FRHACK=0 -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include
-I./Stackless   -DPy_BUILD_CORE -o Stackless/module/channelobject.o
Stackless/module/channelobject.c

Stackless/module/channelobject.c:627:8: warning: type specifier
missing, defaults to 'int' [-Wimplicit-int]

static CHANNEL_SEND_EXCEPTION_HEAD(impl_channel_send_exception);

~~~~~~ ^

Stackless/module/channelobject.c:627:36: error: a parameter list
without types is only allowed in a function definition

static CHANNEL_SEND_EXCEPTION_HEAD(impl_channel_send_exception);

                                   ^

1 warning and 1 error generated.

make: *** [Stackless/module/channelobject.o] Error 1

--

This issue affects 2.7-slp branch and 276r3 export archive. Did anyone
build one of these versions on MacOSX ? I manage to build from
v2.7.5-slp tag.

To me it looks like the problematic commit is
http://hg.python.org/stackless/rev/2915b436c673 about FlexType
removal. Does anyone can reproduce this ?

Cheers,
Hervé



More information about the Stackless mailing list