Posted by
Jerry Jin on
Jul 09, 2016; 12:40pm
URL: http://quantlib.414.s1.nabble.com/How-to-build-with-c-11-flag-tp17589.html
Hello QuantLib community
I'm building my project on QuantLib1.7.1 QuantLibAddin 1.7
On Windows, everything is fine, my code can be compiled and run.
But on Mac, compile passed, on running, there 'Bus error 10', and when I debug, it points to 'libQuantLib.0.dylib','boost::math::lanczos::lanczos17m64' with 'EXEC_BAD_ACCESS' error.
I googled around, it seems it has something to do with CXXFLAGS
The thing is my project depends on another library which uses c++11 on Mac and Linux, but not on Windows. So on Mac and Linux, I have to use c++11 flag.
What are my options in this situation?
Thanks!
Regards
Jerry
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users