Re: Re: quantlib-python compile error

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/quantlib-python-compile-error-tp4088p4097.html

On 10/06/2005 11:24:36 AM, Brad wrote:

> Ok, I tried to see how compiler-gcc.h gets included. Here it is:
>
> /usr/include/python2.3/Python.h includes
>  /usr/include/pth.h includes
>   /usr/include/sys/signal.h includes
>    /usr/include/signal.h includes
>     /usr/include/bits/sigcontext.h includes
>      /usr/include/asm/sigcontext.h includes
>       /usr/include/linux/compiler.h includes
>        /usr/include/linux/compiler-gcc3.h includes
>         /usr/include/linux/compiler-gcc.h
>
> Hope this helps. That last one is the one with the offending macro in
> it.

Ok, I just added the #undef code to the interfaces.

Thanks,
        Luigi

----------------------------------------

Weiler's Law:
         Nothing is impossible for the man who doesn't have to
         do it himself.