Hi all,

I'm trying to compile gecode with gcc 4.2 and I'm getting the following
error:

g++-4.2 -I. -DNDEBUG -fvisibility=hidden -fPIC -Wextra -Wall -pipe -ggdb -O3
-fno-strict-aliasing -finline-limit=3000 -ffast-math   \
    -c -o gecode/support/buddy/bddio.o  gecode/support/buddy/bddio.c
./gecode/support/buddy/bdd.h: In function 'int bdd_loaddata(FILE*)':
./gecode/support/buddy/bdd.h:508: error: 'bdd::bdd(BDD)' is private
gecode/support/buddy/bddio.c:558: error: within this context
./gecode/support/buddy/bdd.h:508: error: 'bdd::bdd(BDD)' is private
gecode/support/buddy/bddio.c:558: error: within this context
gecode/support/buddy/bddio.c:558: error: cannot convert 'bdd' to 'BDD' for
argument '1' to 'BDD bdd_addref(BDD)'

I think I've a problem installing gcc 4.2 but I'm not sure about that, any
clue?


BTW:  my default compiler is i686-apple-darwin9-gcc-4.0.1 and I installed
i686-apple-darwin9-gcc-4.2.1. Finally I configured gecode with the following
characteristics

./configure --prefix=..... CC=g++-4.2 CXX=g++-4.2


Thanks in advance,
Alejandro
_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to