On 2011-11-24 14:24-0000 Andrew Ross wrote: >>> Apparently that error is caught on Fedora but not Debian stable for >>> reasons I don't understand. I wonder if it is also caught on >>> Debian testing, recent Ubuntu, etc., i.e., I wonder if Debian stable >>> is out of step with modern distributions in this regard. >> >> I haven't had chance yet, but I will try your patch to see if it reduces >> the warnings / generates any errors for the current plplot packages on >> debian unstable. > > 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). Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ 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 Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel