On Thu, Nov 24, 2011 at 10:17:42AM -0800, Alan Irwin wrote: > On 2011-11-24 14:24-0000 Andrew Ross wrote: > > > With Ubunutu 10.04 LTS (from last year) example 17 compiles fine with > > -DNON_TRANSITIVE=ON. With the latest Debian unstable I get the same > > error as Orion. This is clearly a feature of a stricter new version of > > the linker. Seems a good thing to me. > > > > Hi Andrew: > > Thanks for that confirmation of the distro-related change that I had > hypothesized. As a general rule it is always a mistake to encourage > errors (such as incorrect direct linking) by attempting to work around > the error in advance. So I strongly agree that the very latest Linux > distros (e.g. Debian unstable and Fedora) are doing the right thing > here by deploying a stricter linker. Better late than never! > > I am going to leave it to you to correct x17.cc in case there are > more issues Debian unstable detects with the C++ examples. > > Today, I plan to expand use of NON_TRANSITIVE to languages other than > C++. I will start with C (i.e., libplplotd + all the libraries in > lib).
I have fixed up C++ example 17 (and 3 others) where the C API was being used rather than the C++ wrapper class. The C++ examples now all compile fine with -DNON_TRANSITIVE=ON . Andrew ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
