RE: Re: quantlib-python compile error

Posted by Yi Zhao-2 on
URL: http://quantlib.414.s1.nabble.com/quantlib-python-compile-error-tp4088p4089.html

I am trying to build quantlib-python in cygwin.
Can anyone tell me how to disable the debug flag "-g" in the setup.py??
Thanks a lot!



> -----Original Message-----
> From: Brad [mailto:[hidden email]]
> Sent: Wednesday, October 05, 2005 11:58 AM
> To: [hidden email]
> Subject: [Quantlib-users] Re: quantlib-python compile error
>
>
> Thanks, I tried putting the #undef just in front of the
> #include statement that pulled in the file with the "Real
> barrier() const;" declaration, and put the macro back in
> directly after that.
>
> Here is a diff in case anyone else runs into this problem.
> 1878,1880d1877 < #ifdef barrier < #undef barrier < #endif
> 1882d1878 < #define barrier() __asm__ __volatile__("": : :"memory"
>
> The unit tests (python setup.py test) hang after testing
> build_ext, but maybe that's an unrelated problem.
>
> Maybe someone wants to file a bug/ complaint with the kernel
> developers for choosing a pretty bad name for a macro.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads,
> discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Quantlib-users mailing list [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>