From: Alan W. I. <ir...@be...> - 2016-01-26 19:58:18
|
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" 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 __________________________ |