Blitz logo

Blitz Support :

From: Paul Floyd (paul.floyd_at_[hidden])
Date: 2004-11-21 17:29:02


Hi list

Has anyone managed to get Blitz 0.8 to compile with Sun Studio 9?

I see that it's not listed as supported. It gets a "yes" for most of
configure's tests, but on its own, it plumped for 'sgi/bzconfig.h'
I set COMPILER_SPECIFIC_HEADER to sun/bzconfig.h, and edited
blitz/bzconfig.h and added

#elif defined(__SUNPRO_CC)
/* Sun CC compiler */
#include "sun/bzconfig.h"

make fails fairly quickly with

Making all in lib
source='../src/globals.cpp' object='globals.lo' libtool=yes \
depfile='.deps/globals.Plo' tmpdepfile='.deps/globals.TPlo' \
depmode=none /bin/bash ../config/depcomp \
/bin/bash ../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I.. -I..
  -g -c -o globals.lo `test -f '../src/globals.cpp' || echo
'./'`../src/globals.cpp
  CC -DHAVE_CONFIG_H -I. -I.. -I.. -g -c ../src/globals.cpp -o globals.o
"../blitz/array/iter.h", line 248: Error: No primary specialization for
partial specialization iterator_traits.
"../blitz/array/iter.h", line 250: Error: Too few arguments for template
std::iterator_traits.
2 Error(s) detected.

Any ideas?

A+
Paul