[swift-users] [Quantlib-users] Unrelated to QuantLib, but your help is very highly appreciated

TUNG CK cktung at mac.com
Fri Oct 6 03:22:50 CDT 2017


The correct approach is to use .mm for your file extension. 


> Amine Ifri <amine.ifri at gmail.com> 於 2017年10月6日 上午2:39 寫道:
> 
> Hi community,
> 
> As I have recently upgraded my OS and IDE on Mac to Xcode 9.0, I have recompiled successfully QuantLib using c++11/ libc++. 
> 
> I am in the process of building a small application that relies on QL. However, I run into a very irritating problem - that doesn’t have anything to do with QL - that has kept me from being productive today. Apparently, it is related to the <cmath> header which includes the C-header <math.h> and imports some of its functionalities into the std namespace, but I end up with a bunch of errors stating that for the following functions: 
> 
> using ::signbit;
> using ::fpclassify;
> using ::isfinite;
> using ::isinf;
> using ::isnan;
> using ::isnormal;
> using ::isgreater;
> using ::isgreaterequal;
> using ::isless;
> using ::islessequal;
> using ::islessgreater;
> using ::isunordered;
> using ::isunordered;
> 
> They can’t be found in the global namespace. I have spent a lot of time on the web looking for a solution, but haven’t been any successful. If any of you has ever encountered such issue and is willing to help, I would be very very grateful.
> 
> Thanks,
> Amine
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> QuantLib-users mailing list
> QuantLib-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20171006/24c07218/attachment.html>


More information about the swift-users mailing list