From: Rob S. <rs...@MI...> - 2010-04-08 08:50:37
|
On Wed, Apr 7, 2010 at 3:00 AM, Dominique Orban <dom...@gm...> wrote: > On Tue, Apr 6, 2010 at 12:23 AM, Rob Speer <rs...@mi...> wrote: >> It seems that it has something to do with the symbol hackery that >> defines SPMATRIX_UNIQUE_SYMBOL in a whole bunch of different places. >> Apparently numpy.distutils isn't handling this the way you expect. >> >> If I define NO_IMPORT_SPMATRIX, it compiles. > > This is odd. It compiles without problems for me on Mac Intel but > again I notice that my gcc flags are quite different from yours: > > C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes > > Are you using the default /usr/bin/gcc? The one that comes from Xcode, yes. The -fno-strict-aliasing option sounds relevant. Where are these options set, anyway? -- Rob |