On 2009-02-18 18:36+0100 Werner Smekal wrote: > Hi Alan, > >> For those (like me) who do not understand Windows that well, what is the >> purpose of dirent_msvc.h? I assume it is automatically generated, but does >> that automatic generation only occur in the build-tree include directory or >> do we have to worry about installation of automatically generated Windows >> headers for other build-tree directories as well? > > The purpose is to provide the dirent functionality which is provided by glibc > (or similar) so available for gcc (and also mingw) for Visual C++, which > doesn't have this. plcore.c needs that to browse through a directory to > search for available dynamic drivers which are then opened via libtdl or the > interface I wrote for windows. Thinking about that, it's actually not needed > at all in the install tree,
Is that really correct? The reason I ask, is I presume a similar search has to be made in the install tree in $prefix/lib/plplot5.9.2/driversd/ to search for available installed dynamic drivers. > ... but plplotP.h is also in the install tree and > there dirent_msvc.h is included. Maybe it makes sense to move the whole #if > HAVE_DIRENT_H/#endif block to plcore.c since I think we don't need it > anywhere else. Read also the dirent_msvc.h in plplot/include for license etc. Thanks for that information, and sorry I did not realize this file was already in the include subdirectory of our source tree rather than being automatically generated like I assumed above. I like the fact this windows functionality is isolated in its own header file so I hope there is some alternative (to the current install tree fix if you need to change it) that preserves that isolation. 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 __________________________ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel