On 2011-10-07 16:28-0700 Alan W. Irwin wrote:

> 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.

Actually, I got ahead of myself there, and in fact there are lots of
build warnings about C++ non-standards compliancy in this case as well.

So my further tests (until you can figure this out post release) will be with

export CFLAGS='-O3 -fvisibility=hidden'
export CXXFLAGS='-O3 -fvisibility=hidden'
export FFLAGS='-O3'

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