Alan,

My recommended settings following the discussion on the list are 
documented in README.release. I've been using

CFLAGS='-O3 -std=c99 -pedantic -D_POSIX_C_SOURCE=200112L -Wall  \
-Wextra -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs \
-Wconversion -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings'

CXXFLAGS='-O3 -fvisibility=hidden -std=c++98 -pedantic -Wall -Wextra '

FFLAGS='-std=f95 -O3 -fall-intrinsics -fvisibility=hidden -pedantic \
-Wall -Wextra '

Andrew

On Wed, Dec 07, 2011 at 10:05:04AM -0800, Alan Irwin wrote:
> Hi Andrew:
> 
> Some time ago in connection with the Time Ephmerides project I built
> the Debian unstable gcc-4.6 packages (version 4.6.1-13) on my Debian
> stable platform to get access to gfortran quadruple precision.  These
> compilers are not suitable for comprehensive testing of PLplot because
> they don't include Ada and D so I have not used them before for that
> purpose, but out of curiosity today I did some limited testing (just
> the test_noninteractive target in the build tree) for the following
> environment variables:
> 
> CC=gcc-4.6
> CXX=g++-4.6
> FC=gfortran-4.6
> CFLAGS=-O3 -fvisibility=hidden
> CXXFLAGS=-O3 -fvisibility=hidden
> FFLAGS=-O3
> 
> and the following cmake options:
> 
> -DBUILD_TEST=ON -DDEFAULT_NO_BINDINGS=ON -DENABLE_cxx=ON \
> -DENABLE_f95=ON -DENABLE_f77=ON
> 
> As expected, the result was no compiler warnings and no run-time errors
> for the test_noninteractive target in the build tree.
> 
> What do you now recommend for CFLAGS, CXXFLAGS, and FFLAGS for the most
> rigourous code-quality testing for the above compilers?
> 
> 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
> __________________________
> 
> ------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point of 
> discussion for anyone considering optimizing the pricing and packaging model 
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to