On 2010-06-02 23:00-0700 Alan W. Irwin wrote:

> If you look at the attached simple.f90, you will see I have whittled the
> problem down to just two routines, plvectors_0 and plvectors_1.  If I remove
> either of them or simply rename either of them, the Wine/MinGW/gfortran
> issue disappears.  So it appears that somehow the plvectors_0 name is
> clashing with the plvectors_1 name for that platform.

Since these are private functions I thought I could work around the problem
by renaming one of them in our Fortran 95 interface, but it turns out there
is at least one other pair of function names (plcontour_2_all and
plcontour_tr_all) which clash with each other in our Fortran 95 interface,
and probably more. (It is labourous to find these pairs because you have to
eliminate functions one by one from the original until you find a pair that
cause the issue.  There are something like 25 different functions involved
so there are a lot of different combinations.)

Clint, I need advice on not only how and where to report this bug, but even
what to call it.  It is not a name clash since the names are obviously
distinct, but it must be a clash in how these different pairs of names are
represented. My best guess is MinGW gfortran hashes the names when reading in
the module file (that is when the error occurs, because I can avoid the
error altogether if I drop the "use plplotp" statement in simple.f90), and
that hash is very poorly implemented in Wine, but there may be other
possibilities.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to