[PPL-devel] Modified PPL 0.10.2 source distribution for Solaris

Roberto Bagnara bagnara at cs.unipr.it
Wed Oct 28 16:11:19 CET 2009


Alan Pae wrote:
> This is on OpenSolaris build 125 (current) using Sun Studio 12.1.
> 
>     done > ppl_include_files.hh
> ../utils/build_header \
>         -I .. -I ../src \
>         ../src/ppl_header.hh >ppl.hh
> ../utils/text2cxxarray --name=BUGS_array \
>         ../BUGS >BUGS.cc
> ../utils/text2cxxarray --name=COPYING_array \
>         ../COPYING >COPYING.cc
> ../utils/text2cxxarray --name=CREDITS_array \
>         ../CREDITS >CREDITS.cc
> gmake  all-am
> gmake[3]: Entering directory `/build/ppl-0.10.2/src'
> source='Box.cc' object='Box.lo' libtool=yes \
>     DEPDIR=.deps depmode=none /bin/sh ../depcomp \
>     /bin/sh ../libtool --tag=CXX   --mode=compile 
> /opt/sunstudio12.1/bin/CC -DHAVE_CONFIG_H -I. -I..  -I.. -I../src  
> -I/usr/include/gmp  -g -O2  -c -o Box.lo Box.cc
> libtool: compile:  /opt/sunstudio12.1/bin/CC -DHAVE_CONFIG_H -I. -I.. 
> -I.. -I../src -I/usr/include/gmp -g -O2 -c Box.cc  -KPIC -DPIC -o 
> .libs/Box.o
> "globals.types.hh", line 21: Error: size_t is not defined.
> "globals.types.hh", line 25: Error: size_t is not defined.

Hi Alan,

it seems the compiler you are using is buggy: according to the C++
standard, size_t has to be provided by <cstddef> and <cstddef> is
included by globals.types.hh prior to the first reference to size_t.
All the best,

    Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the PPL-devel mailing list