Hi Alan,
Ah, this came in after I had finished writing up my adventures. I will have a
closer look later to see what needs to be done.
Regards,
Arjen
> -----Original Message-----
> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
> Sent: Tuesday, June 20, 2017 8:37 PM
...
> To Arjen and Phil:
>
> Actually, I think the simpleness of that condition should be fine on MinGW-
> w64/MSYS2. After all, in that case you are building a native Windows version
> of
> PLplot where everything inside the #ifdef WIN32 stanzas should be available.
>
> Also now that I have finally found a partner who is willing to test the
> wxwidgets IPC
> methods on a native Windows platform, I have a number of IPC build system and
> code changes in mind.
>
> If you have looked at the code at all now, you can see it is a bit of a
> complex #ifdef
> thicket that is therefore hard to understand by definition. But (see
> cmake/modules/wxwidgets.cmake) the macro
> PL_HAVE_UNNAMED_POSIX_SEMAPHORES is permanently disabled. That
> disablement (done several months ago) is because although the #ifdef
> PL_HAVE_UNNAMED_POSIX_SEMAPHORES code stanzas currently work in the
> Linux case, they are superseded by the named semaphores approach that works
> for all POSIX platforms including Linux. So my first order of business is to
> follow up
> on that permanent disablement by removing all #ifdef
> PL_HAVE_UNNAMED_POSIX_SEMAPHORES code stanzas (and, in fact, all
> references to PL_HAVE_UNNAMED_POSIX_SEMAPHORES in our source tree) to
> reduce the #ifdef complexity of the IPC code.
>
> Also, if you look at cmake/modules/wxwidgets.cmake you will see the macro
> PL_WXWIDGETS_IPC3 is permanently enabled. My second order of business is
> to turn that temporarily back into an option which will be ON by default.
> The old
> IPC code that is enabled when that option is turned OFF by the user used to
> work
> OK on both Windows and Linux. So turning this temporarily back into an option
> should allow us to test both -DPL_WXWIDGETS_IPC3 ON and OFF on both Linux
> and Windows.
> Previously -DPL_WXWIDGETS_IPC3 OFF worked OK on both the Linux platform
> and the native Windows MSVC platform so my guess is it should also work on
> MinGW-w64/MSYS2 to provide a benchmark to test how well
> -DPL_WXWIDGETS_IPC3 ON works on that platform. And ultimately once we
> make the code corrections so that -DPL_WXWIDGETS_IPC3 ON builds and runs
> fine on that native Windows platform, I intend to remove all the "old" IPC
> code that
> is used when -DPL_WXWIDGETS_IPC3 OFF in the interests of reducing
> complexity.
>
> @Phil: your participation in these proposed IPC tests in the MSVC case (or any
> platform you can get your hands on) would be most welcome. And if you could
> let
> Arjen know your source of reliable wxwidgets libraries for the MSVC case, that
> would be most welcome as well.
>
> More later...
>
> 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
> __________________________
DISCLAIMER: This message is intended exclusively for the addressee(s) and may
contain confidential and privileged information. If you are not the intended
recipient please notify the sender immediately and destroy this message.
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The
Netherlands, Commercial Registration Number 41146461, is not liable in any way
whatsoever for consequences and/or damages resulting from the improper,
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel