From: Alan W. I. <ir...@be...> - 2017-06-27 09:16:39
|
On 2017-06-27 07:40-0000 Arjen Markus wrote: > An inspection of the code did not bring up a glaring mistake [in the declaration of ran_s], so I am puzzled as well. At the very least at the moment. The only thing I can imagine is that the stdlib.h header file is not actually included. Hi Arjen: I also did a google search for ran_s and Wine, and that was implemented long ago in the msvcrt library (which I assume is automatically propagated on Windows platforms to what g++ feels is stdlib). So I am puzzled indeed, but we will know more once we get your results for your more usual Windows platforms and also for a much more modern g++ for your MinGW-w64/MSYS2 platform than I am running on my ancient MinGW/MSYS platform. > >> In sum, please run a MinGW-w64/MSYS2 (either 32-bit or 64-bit) test and an >> MSVC test for this latest code base to insure my present fix works for the "cannot >> convert" LPCTSTR to LPCWSTR issue works on those platforms. And if for either >> one you run into a problem with the above declaration of rand_s, I hope you know >> how to fix it (since I don't). >> > Okay, that is clear enough. I will try this. Thanks! 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 __________________________ |