On Dec 21, 2005, at 9:31 AM, Mathieu Bouchard wrote:
when ./configure looks for Gem sources and doesn't find them, it is misleading: it says one has to change configure.ac and re-run autoconf. However, --with-gemdir also does the job and does not require autoconf.
If i make a typo like --with-gem-dir instead of --with-gemdir, ./ configure accepts it, ignores it, and doesn't complain about unknown option.
Then when I try compiling it:
g++ -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -DGEM2PDP_VERSION="0.6" -g -I../../pd/src -I. -I../pdp/include -I/home/matju/src/gem-cvs/Gem/ src -o pix_2pdp.o -c pix_2pdp.cpp pix_2pdp.cpp: In member function `virtual void pix_2pdp::bangMess()': pix_2pdp.cpp:137: error: jump to case label
...well, this is just a switch(), so maybe adding parentheses would help...? But, I tried it here with gcc 4.0.1, and get no errors/ warnings at all: here's my compile line:
g++ -DPD -Os -funroll-loops -fomit-frame-pointer -ffast-math -Wall - W -Wno-unused -Wno-parentheses -Wno-switch -DGEM2PDP_VERSION="0.7" - g -I/Users/tigital/puredataDev/devel_0_39/pd/src -I. -I../pdp/ include -I../../Gem/src -I/sw/include -o pix_2pdp.o -c pix_2pdp.cpp rm -f pix_2pdp.pd_darwin
jamie