Hi Andrew:

Following Geoffrey's recent advice to test our software for standards
compliancy, I tried the following:

export CFLAGS='-O3 -fvisibility=hidden -std=c99 -pedantic'
export 'CXXFLAGS='-O3 -fvisibility=hidden -std=c++98 -pedantic'
export FFLAGS='-O3'

cmake -DENABLE_java=OFF ...

make test_noninteractive

The results for that test without java had no obvious errors, but
there were lots of warning messages during the compilation about our
code not being compliant with standards.  That is a big concern so I
hope you will take a look at these warning messages to see what can
be done.

Also, if I enable java, then starting with a fresh build and compiling
with the above CFLAGS values generates a segfault on the first java
example with either the test_noninteractive or test_java_psc targets.

Could you also take a look at that related issue?

If I try the java build with the above CXXFLAGS and FFLAGS, but with

export CFLAGS='-O3 -fvisibility=hidden'

then there are no obvious errors or build warnings with the test_java_psc or
test_noninteractive targets.

If my remaining tests using the above CXXFLAGS and FFLAGS, and

export CFLAGS='-O3 -fvisibility=hidden'

work okay on Linux, and other Windows, Mac OS X, and Linux tests look
okay, then I anticipate that we will be able to go ahead with a quick
release of 5.9.9 from PLplot svn trunk this weekend to deal with the
Windows broken build issues for 5.9.8 in a timely manner.  So we
should not do anything about the -std=c99 situation before that quick
release, but after that I think it is important to bring our code into
compliance with the c99 standard.

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
__________________________

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to