Hi Alan,


> -----Original Message-----
> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
> Sent: Tuesday, January 26, 2016 8:58 PM
> To: Arjen Markus; PLplot development list
> Cc: Andrew Ross; andrewr...@users.sourceforge.net
> Subject: RE: [Plplot-devel] Having trouble compiling PLplot with gcc --std=c99
>
> On 2016-01-26 09:10-0000 Arjen Markus wrote:
>
> > I tried this [--std=c99] on Cygwin, using gcc 4.9.3 and that gave no 
> > complaints.
> So it may be your particular version of gcc.
>
> Thanks for your help trying to pin down the cause of this issue.
>
> Your build test result inspired me to try another build with
> --std=c99 and xwin excluded from the build using the CMake options -
> DPLD_xwin=OFF -DPLD_tk=OFF.  And the PLplot build was a complete success
> for that case!
>
> So it appears this --std=c99 (but not --std=gnu99) build bug shows up only if 
> there
> is an attempt to build the xwin device.
>
> Some of your previous tests on Cygwin have included xwin and some have not
> because you had to take some extra steps to allow xwin to be part of the 
> build.  Did
> your current build test with --std=c99 include xwin?
>
> If your successful build with --std=c99 did include xwin, then that is pretty 
> clear
> evidence that there is nothing wrong with our xwin code and my gcc --std=c99 
> xwin
> build issue is instead due to my gcc version which is "gcc (Debian 4.9.2-10) 
> 4.9.2"
>
I tried it again - this time with the X Window server running to instruct the 
build system to include the xwin device, but it still built fine. No errors 
from the gcc compiler.

Regards,

Arjen



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.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to