Hi.
I'll give this a go tomorrow.  Hopefully it is a simple fix.
I have found that the clang compiler does warn a lot :)
K

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Hervé Coatanhay
Sent: 2. apríl 2014 14:20
To: The Stackless Python Mailing List
Subject: [Stackless] MacOS build error

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é

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to