|
From: Mojca M. <moj...@gm...> - 2015-12-09 18:35:35
|
On 9 December 2015 at 16:23, Hans-Bernhard Bröker wrote: > Am 09.12.2015 um 11:41 schrieb Mojca Miklavec: > >> What other libraries for gnuplot (other than Qt and wxWidgets) need C++? > > > Basically none. > >> I'm facing some problems when trying to support gnuplot built against >> Qt 5 on OS X < 10.9. > > > That bodes trouble. I've seen various levels of incompatibility between > clang and Qt5 for a while now (on Windows+Cygwin). > >> if (isnan(*image)) >> ^~~~~ >> std::isnan >> >> which I can fix by changing isnan to std::isnan, > > > That one would be a simple enough fix. But there are more problems waiting > to be found, including lots of unresolved reference into QString. For me the rest worked out of the box. >> but the program crashes anyway (on exit at least) if I don't compile >> it against libc++ (rather than libstdc++). > > Huh, don't remember having seen that name. What package does that library > originate in? It's not from a package. It's a standard library that any C++ compiler links against. Mac OS X ships with both libstdc++ and libc++. Only libc++ supports C++11, but libstdc++ was the default before version 10.9. Mojca |