hi,
i have this error when compiling pd-extended for ubuntu 9.10:
make -C /home/psc/src/pd/externals/gem2pdp make[3]: Entering directory `/home/psc/src/pd/externals/gem2pdp' g++ -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -DGEM2PDP_VERSION="0.7" -g -g -O2 -I/home/psc/src/pd/pd/src -I. -I/home/psc/src/pd/externals/pdp/include -I/home/psc/src/pd/Gem/src -o gem2pdp.o -c gem2pdp.cpp In file included from /home/psc/src/pd/Gem/src/Base/CPPExtern.h:20, from /home/psc/src/pd/Gem/src/Base/GemBase.h:20, from gem2pdp.h:13, from gem2pdp.cpp:11: /home/psc/src/pd/Gem/src/Base/GemVersion.h:13: warning: type qualifiers ignored on function return type In file included from /home/psc/src/pd/externals/pdp/include/pdp.h:41, from gem2pdp.h:15, from gem2pdp.cpp:11: /home/psc/src/pd/externals/pdp/include/pdp_types.h:50: error: redeclaration of C++ built-in type ‘bool’ make[3]: *** [gem2pdp.o] Error 1 make[3]: Leaving directory `/home/psc/src/pd/externals/gem2pdp' make[2]: *** [gem2pdp] Error 2 make[2]: Leaving directory `/home/psc/src/pd/externals' make[1]: *** [externals_install] Error 2 make[1]: Leaving directory `/home/psc/src/pd/packages' make: *** [install] Error 2
also i had to modified:
char * extension = strrchr(filename, '.');
for char * extension = strrchr(const_cast<char*>(filename), '.');
as reported by ClaudiusMaximus http://www.mail-archive.com/gem-dev@iem.at/msg00236.html
pat