<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span style="background-color: rgba(255, 255, 255, 0);">The correct approach is to use .mm for your file extension.&nbsp;</span><br><br></div><div><br>Amine Ifri &lt;<a href="mailto:amine.ifri@gmail.com">amine.ifri@gmail.com</a>&gt; 於 2017年10月6日 上午2:39 寫道:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8">Hi community,<div class=""><br class=""></div><div class="">As I have recently upgraded my OS and IDE on Mac to Xcode 9.0, I have recompiled successfully QuantLib using c++11/ libc++.&nbsp;</div><div class=""><br class=""></div><div class="">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 &lt;cmath&gt; header which includes the C-header &lt;math.h&gt; 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:&nbsp;</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::signbit;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::fpclassify;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::isfinite;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::isinf;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::isnan;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::isnormal;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::isgreater;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::isgreaterequal;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::isless;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::islessequal;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::islessgreater;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::isunordered;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: 'Helvetica Neue'; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">using ::isunordered;</span></div></div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Amine</div><div class=""><br class=""></div></div></blockquote><blockquote type="cite"><div><span>------------------------------------------------------------------------------</span><br><span>Check out the vibrant tech community on one of the world's most</span><br><span>engaging tech sites, <a href="http://Slashdot.org">Slashdot.org</a>! <a href="http://sdm.link/slashdot">http://sdm.link/slashdot</a></span></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>QuantLib-users mailing list</span><br><span><a href="mailto:QuantLib-users@lists.sourceforge.net">QuantLib-users@lists.sourceforge.net</a></span><br><span><a href="https://lists.sourceforge.net/lists/listinfo/quantlib-users">https://lists.sourceforge.net/lists/listinfo/quantlib-users</a></span><br></div></blockquote></body></html>