[PPL-devel] Problems with ppl-0.10.2 and g++ 4.4.0 on Open Solaris (x86_64)
Roberto Bagnara
bagnara at cs.unipr.it
Sun Apr 26 11:02:40 CEST 2009
Tom Browder wrote:
> I have tried to build ppl-0.10.2 with g++-4.4.0 and get many errors
> starting with:
>
> In file included from algorithms.hh:27,
> from C_Polyhedron.cc:28:
> Pointset_Powerset.defs.hh:68: error: expected unqualified-id before
> numeric constant
> Pointset_Powerset.defs.hh:69: error: type/value mismatch at argument 1
> in template parameter list for 'template<class D> class
> Parma_Polyhedra_Library::Powerset'
> Pointset_Powerset.defs.hh:69: error: expected a type, got '15'
> Pointset_Powerset.defs.hh:1234: error: 'Base' is not a class or namespace
> Pointset_Powerset.defs.hh:1235: error: 'Base' is not a class or namespace
> Pointset_Powerset.defs.hh:1236: error: 'Base' is not a class or namespace
>
> <etc.>
>
> I first built g++ 4.4.0 without ppl and then tried to build ppl with
> the resulting g++ but got the errors above. I am building on open
> solaris 2008.11.
>
> I carefully ensured that gmp, mpfr, and ppl are all configured and
> built the same.
>
> Thank you for any help.
Hi Tom,
apparently, some of the header files in your system are broken.
For example, here is line 69 in src/Pointset_Powerset.defs.hh:
typedef Powerset<CS> Base;
I bet that you have an header file containing something like
#define CS 15
Can you please check that?
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