Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created August 14, 2012 12:52
Show Gist options
  • Select an option

  • Save cdeil/3349048 to your computer and use it in GitHub Desktop.

Select an option

Save cdeil/3349048 to your computer and use it in GitHub Desktop.
Sherpa 4.4.1 standalone build error on Mac OS X Lion with clang 4
christoph-deils-macbook:sherpa deil$ python setup.py build
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building library "sherpa" sources
building extension "sherpa.estmethods._est_funcs" sources
building extension "sherpa.models._modelfcts" sources
building extension "sherpa.optmethods._minpack" sources
creating build/src.macosx-10.7-x86_64-2.7
creating build/src.macosx-10.7-x86_64-2.7/sherpa
creating build/src.macosx-10.7-x86_64-2.7/sherpa/optmethods
creating build/src.macosx-10.7-x86_64-2.7/sherpa/optmethods/src
creating build/src.macosx-10.7-x86_64-2.7/sherpa/optmethods/src/minpack
f2py options: []
f2py: sherpa/optmethods/src/minpack/_minpack.pyf
Reading fortran codes...
Reading file 'sherpa/optmethods/src/minpack/_minpack.pyf' (format:free)
Post-processing...
Block: lmdif__user__routines
Block: lmdif_user_interface
Block: fcn
Block: _minpack
Block: enorm
Block: lmpar
Block: mylmdif
In: sherpa/optmethods/src/minpack/_minpack.pyf:_minpack:unknown_interface:mylmdif
get_useparameters: no module lmdif__user__routines info used by mylmdif
Block: qrfac
Post-processing (stage 2)...
Building modules...
Constructing call-back function "cb_fcn_in_lmdif__user__routines"
def fcn(x,iflag): return fvec,iflag
Building module "_minpack"...
Creating wrapper for Fortran function "enorm"("enorm")...
Constructing wrapper function "enorm"...
enorm = enorm(x)
Constructing wrapper function "lmpar"...
lmpar(r,ldr,ipvt,diag,qtb,delta,par,x,sdiag,wa1,wa2)
Constructing wrapper function "mylmdif"...
info,nfev,fval,covarerr = mylmdif(fcn,m,x,ftol,xtol,gtol,maxfev,epsfcn,factor,nprint,lb,ub,[fcn_extra_args])
Constructing wrapper function "qrfac"...
ipvt,rdiag,acnorm = qrfac(m,n,a)
Wrote C/API module "_minpack" to file "build/src.macosx-10.7-x86_64-2.7/sherpa/optmethods/src/minpack/_minpackmodule.c"
Fortran 77 wrappers are saved to "build/src.macosx-10.7-x86_64-2.7/sherpa/optmethods/src/minpack/_minpack-f2pywrappers.f"
adding 'build/src.macosx-10.7-x86_64-2.7/fortranobject.c' to sources.
adding 'build/src.macosx-10.7-x86_64-2.7' to include_dirs.
copying /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/src/fortranobject.c -> build/src.macosx-10.7-x86_64-2.7
copying /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/src/fortranobject.h -> build/src.macosx-10.7-x86_64-2.7
adding 'build/src.macosx-10.7-x86_64-2.7/sherpa/optmethods/src/minpack/_minpack-f2pywrappers.f' to sources.
building extension "sherpa.optmethods._minim" sources
f2py options: []
f2py: sherpa/optmethods/src/_minim.pyf
Reading fortran codes...
Reading file 'sherpa/optmethods/src/_minim.pyf' (format:free)
rmbadname1: Replacing "max" with "max_bn".
rmbadname1: Replacing "max" with "max_bn".
Post-processing...
Block: minim__user__routines
Block: minim_user_interface
Block: functn
Block: _minim
Block: minim
In: sherpa/optmethods/src/_minim.pyf:_minim:unknown_interface:minim
get_useparameters: no module minim__user__routines info used by minim
Block: syminv
Post-processing (stage 2)...
Building modules...
Constructing call-back function "cb_functn_in_minim__user__routines"
def functn(p): return func
Building module "_minim"...
Constructing wrapper function "minim"...
func,var,ifault,neval = minim(p,step,max_bn,iprint,stopcr,nloop,iquad,simp,functn,lb,ub,[functn_extra_args])
Constructing wrapper function "syminv"...
c,ifault,rmax = syminv(a,n)
Wrote C/API module "_minim" to file "build/src.macosx-10.7-x86_64-2.7/sherpa/optmethods/src/_minimmodule.c"
adding 'build/src.macosx-10.7-x86_64-2.7/fortranobject.c' to sources.
adding 'build/src.macosx-10.7-x86_64-2.7' to include_dirs.
building extension "sherpa.optmethods._saoopt" sources
building extension "sherpa.optmethods._tstoptfct" sources
building extension "sherpa.stats._statfcts" sources
building extension "sherpa.utils._utils" sources
building extension "sherpa.utils._pykdtree" sources
building extension "sherpa.utils._psf" sources
building extension "sherpa.utils.integration" sources
building extension "sherpa.astro.models._modelfcts" sources
building extension "sherpa.astro.utils._pileup" sources
building extension "sherpa.astro.utils._utils" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build/lib.macosx-10.7-x86_64-2.7
creating build/lib.macosx-10.7-x86_64-2.7/sherpa
copying sherpa/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa
copying sherpa/all.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa
copying sherpa/ciao-config.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa
copying sherpa/data.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa
copying sherpa/fit.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa
copying sherpa/instrument.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa
copying sherpa/io.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa
copying sherpa/logposterior.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/estmethods
copying sherpa/estmethods/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/estmethods
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/image
copying sherpa/image/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/image
copying sherpa/image/DS9.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/image
copying sherpa/image/ds9_backend.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/image
copying sherpa/image/dummy_backend.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/image
copying sherpa/image/pyds9_backend.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/image
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/models
copying sherpa/models/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/models
copying sherpa/models/basic.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/models
copying sherpa/models/model.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/models
copying sherpa/models/parameter.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/models
copying sherpa/models/template.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/models
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/optmethods
copying sherpa/optmethods/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/optmethods
copying sherpa/optmethods/myoptfcts.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/optmethods
copying sherpa/optmethods/opt.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/optmethods
copying sherpa/optmethods/optfcts.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/optmethods
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/plot
copying sherpa/plot/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/plot
copying sherpa/plot/chips_backend.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/plot
copying sherpa/plot/dummy_backend.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/plot
copying sherpa/plot/pylab_backend.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/plot
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/sim
copying sherpa/sim/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/sim
copying sherpa/sim/mh.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/sim
copying sherpa/sim/sample.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/sim
copying sherpa/sim/simulate.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/sim
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/stats
copying sherpa/stats/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/stats
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/ui
copying sherpa/ui/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/ui
copying sherpa/ui/utils.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/ui
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/utils
copying sherpa/utils/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/utils
copying sherpa/utils/err.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/utils
copying sherpa/utils/kdtree.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/utils
copying sherpa/utils/numpytest.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/utils
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro
copying sherpa/astro/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro
copying sherpa/astro/all.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro
copying sherpa/astro/background.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro
copying sherpa/astro/data.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro
copying sherpa/astro/flux.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro
copying sherpa/astro/instrument.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro
copying sherpa/astro/plot.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/io
copying sherpa/astro/io/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/io
copying sherpa/astro/io/crates_backend.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/io
copying sherpa/astro/io/meta.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/io
copying sherpa/astro/io/pyfits_backend.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/io
copying sherpa/astro/io/wcs.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/io
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/models
copying sherpa/astro/models/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/models
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/optical
copying sherpa/astro/optical/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/optical
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/sim
copying sherpa/astro/sim/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/sim
copying sherpa/astro/sim/fullbayes.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/sim
copying sherpa/astro/sim/pragbayes.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/sim
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/ui
copying sherpa/astro/ui/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/ui
copying sherpa/astro/ui/utils.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/ui
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/utils
copying sherpa/astro/utils/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/utils
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/xspec
copying sherpa/astro/xspec/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/xspec
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/include
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/array.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/Array2d.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/constants.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/extension.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/fcmp.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/functor.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/integration.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/model_extension.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/models.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/stat_extension.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/stats.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/StopWatch.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/StreamingException.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/syminv.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
copying sherpa/include/sherpa/utils.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa/astro
copying sherpa/include/sherpa/astro/models.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa/astro
copying sherpa/include/sherpa/astro/utils.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa/astro
copying sherpa/include/sherpa/astro/xspec_extension.hh -> build/lib.macosx-10.7-x86_64-2.7/sherpa/include/sherpa/astro
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/tests
copying sherpa/tests/test_sherpa.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/estmethods/tests
copying sherpa/estmethods/tests/test_estmethods.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/estmethods/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/image/tests
copying sherpa/image/tests/test_image.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/image/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/models/tests
copying sherpa/models/tests/test_basic.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/models/tests
copying sherpa/models/tests/test_model.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/models/tests
copying sherpa/models/tests/test_parameter.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/models/tests
copying sherpa/models/tests/test_template.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/models/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/optmethods/tests
copying sherpa/optmethods/tests/test_optmethods.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/optmethods/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/plot/tests
copying sherpa/plot/tests/test_plot.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/plot/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/sim/tests
copying sherpa/sim/tests/test_sim.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/sim/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/ui/tests
copying sherpa/ui/tests/test_ui.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/ui/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/utils/tests
copying sherpa/utils/tests/test_integration.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/utils/tests
copying sherpa/utils/tests/test_kdtree.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/utils/tests
copying sherpa/utils/tests/test_root.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/utils/tests
copying sherpa/utils/tests/test_utils.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/utils/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/tests
copying sherpa/astro/tests/test_astro.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/tests
copying sherpa/astro/tests/test_data.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/tests
copying sherpa/astro/tests/test_plot.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/models/tests
copying sherpa/astro/models/tests/test_models.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/models/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/optical/tests
copying sherpa/astro/optical/tests/test_optical.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/optical/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/sim/tests
copying sherpa/astro/sim/tests/test_sim.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/sim/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/ui/tests
copying sherpa/astro/ui/tests/test_ui.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/ui/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/utils/tests
copying sherpa/astro/utils/tests/test_utils.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/utils/tests
creating build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/xspec/tests
copying sherpa/astro/xspec/tests/test_xspec.py -> build/lib.macosx-10.7-x86_64-2.7/sherpa/astro/xspec/tests
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
building 'sherpa' library
compiling C sources
C compiler: /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
creating build/temp.macosx-10.7-x86_64-2.7
creating build/temp.macosx-10.7-x86_64-2.7/sherpa
creating build/temp.macosx-10.7-x86_64-2.7/sherpa/utils
creating build/temp.macosx-10.7-x86_64-2.7/sherpa/utils/src
creating build/temp.macosx-10.7-x86_64-2.7/sherpa/utils/src/gsl
compile options: '-Isherpa/utils/src -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -c'
clang: sherpa/utils/src/gsl/fcmp.c
ar: adding 1 object files to build/temp.macosx-10.7-x86_64-2.7/libsherpa.a
ranlib:@ build/temp.macosx-10.7-x86_64-2.7/libsherpa.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
#### ['/usr/bin/clang', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-pipe', '-O2', '-fwrapv', '-DNDEBUG', '-g', '-fwrapv', '-O3', '-Wall', '-Wstrict-prototypes'] #######
Missing compiler_cxx fix for UnixCCompiler
customize UnixCCompiler using build_ext
customize NAGFCompiler
Could not locate executable f95
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize IBMFCompiler
Could not locate executable xlf90
Could not locate executable xlf
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize GnuFCompiler
Could not locate executable g77
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'sherpa.estmethods._est_funcs' extension
compiling C++ sources
C compiler: /usr/bin/clang++ -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall
creating build/temp.macosx-10.7-x86_64-2.7/sherpa/estmethods
creating build/temp.macosx-10.7-x86_64-2.7/sherpa/estmethods/src
compile options: '-Isherpa/include -Isherpa/utils/src/gsl -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c'
clang++: sherpa/estmethods/src/estutils.cc
In file included from sherpa/estmethods/src/estutils.cc:24:
sherpa/include/sherpa/utils.hh:486:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
if ( 0.0 == num || denom > 1 && num < denom * my_min )
~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
sherpa/include/sherpa/utils.hh:486:34: note: place parentheses around the '&&' expression to silence this warning
if ( 0.0 == num || denom > 1 && num < denom * my_min )
^
( )
1 warning generated.
clang++: sherpa/estmethods/src/projection.cc
clang++: sherpa/estmethods/src/info_matrix.cc
clang++: sherpa/estmethods/src/estwrappers.cc
In file included from sherpa/estmethods/src/estwrappers.cc:20:
In file included from sherpa/include/sherpa/extension.hh:23:
sherpa/include/sherpa/array.hh:120:14: error: default arguments cannot be added to an out-of-line definition of a member of a class template
bool contiguous=false )
^ ~~~~~
sherpa/estmethods/src/estwrappers.cc:205:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstHardMin",
^
sherpa/estmethods/src/estwrappers.cc:218:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstHardMax",
^
sherpa/estmethods/src/estwrappers.cc:231:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstNewMin",
^
sherpa/estmethods/src/estwrappers.cc:244:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstMaxIter",
^
sherpa/estmethods/src/estwrappers.cc:257:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstNaN",
^
sherpa/estmethods/src/estwrappers.cc:270:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstMethodError",
^
6 warnings and 1 error generated.
In file included from sherpa/estmethods/src/estwrappers.cc:20:
In file included from sherpa/include/sherpa/extension.hh:23:
sherpa/include/sherpa/array.hh:120:14: error: default arguments cannot be added to an out-of-line definition of a member of a class template
bool contiguous=false )
^ ~~~~~
sherpa/estmethods/src/estwrappers.cc:205:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstHardMin",
^
sherpa/estmethods/src/estwrappers.cc:218:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstHardMax",
^
sherpa/estmethods/src/estwrappers.cc:231:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstNewMin",
^
sherpa/estmethods/src/estwrappers.cc:244:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstMaxIter",
^
sherpa/estmethods/src/estwrappers.cc:257:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstNaN",
^
sherpa/estmethods/src/estwrappers.cc:270:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
est_exception = PyErr_NewException("sherpa.estmethods.EstMethodError",
^
6 warnings and 1 error generated.
error: Command "/usr/bin/clang++ -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Isherpa/include -Isherpa/utils/src/gsl -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c sherpa/estmethods/src/estwrappers.cc -o build/temp.macosx-10.7-x86_64-2.7/sherpa/estmethods/src/estwrappers.o" failed with exit status 1
christoph-deils-macbook:sherpa deil$ /usr/bin/clang++ --version
Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment