<div dir="ltr">Hi Mojca,<div>For the CTAN build (only) I removed -std=c++11 to support older platforms that do not yet fully</div><div>support C++11. So I don't know how it got back in there, unless you are compiling from the github or sourceforge source. Some newer operating systems apparently require the -std=c++11 but</div><div>for unordered_map but we don't actually use any C++11 features yet. You can override this flag</div><div>like I did (by editing <a href="http://configure.ac" target="_blank">configure.ac</a>) for the CTAN build with</div><div><br></div><div>./configure  CXXFLAGS=""</div><div>or, if you prefer,</div><div>./configure  CXXFLAGS="ansi"</div><div><br></div><div>As for readline, not having support for this library makes asymptote essentially useless for interactive work. You just need to upgrade to GNU readline 4.3 or later, which has been around</div><div>since 2004. Some nonGNU readline libraries are missing the history functionality.</div><div><br></div><div>The libOSMesa library, which provides offscreen rendering, is not needed by the vast majority of users.</div><div><br></div><div>Regards,</div><div><br></div><div>-- John</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 26, 2017 at 5:19 AM, Mojca Miklavec <span dir="ltr"><<a href="mailto:mojca.miklavec.lists@gmail.com" target="_blank">mojca.miklavec.lists@gmail.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 23 March 2017 at 23:44, Karl Berry wrote:<br>
><br>
> John has made another Asymptote release, essentially reverting the build<br>
> system (C++11 madness) to what it was for last year. Now in TL.<br>
><br>
> Please give it a try at your convenience. (But still don't commit<br>
> anything to Master.)<br>
<br>
On Solaris I get a weird warning (but the compilation succeeds):<br>
<br>
configure: WARNING: unordered_map: accepted by the compiler, rejected<br>
by the preprocessor!<br>
configure: WARNING: unordered_map: proceeding with the compiler's result<br>
<br>
Compiler and flags:<br>
<br>
/opt/csw/bin/g++-5.2 -Wall -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64<br>
-DUSEGC  -D_REENTRANT -pthreads -DFFTWPP_SINGLE_THREAD  -std=c++11 -g<br>
-O3 -fno-var-tracking<br>
<br>
<br>
<br>
On Mac OS X 10.6 it fails to build with default compiler (probably<br>
expected), but compilation with clang-3.4 goes smoothly (at least for<br>
i386 and x86_64, there were some problems with the hardly relevant<br>
ppc), with two warnings:<br>
<br>
configure: *** Could not find GNU libreadline 4.3 or later: will<br>
compile without readline support ***<br>
configure: *** Could not find libOSMesa: will compile without<br>
offscreen rendering support ***<br>
<br>
The first one could most likely be fixed easily by adding a statically<br>
built libreadline if required.<br>
<span class="m_2058621139413646235gmail-m_-1316357919598273449m_-4308213636173780263HOEnZb"><font color="#888888"><br>
Mojca<br>
</font></span></blockquote></div><br></div></div>