On Wed, 21 Dec 2005, Mathieu Bouchard wrote:
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 pix_2pdp.cpp:103: error: crosses initialization of `const int row_length' make: *** [pix_2pdp.o] Error 1
patch below.
--- pix_2pdp.cpp 11 Oct 2005 15:34:35 -0000 1.4 +++ pix_2pdp.cpp 21 Dec 2005 14:32:51 -0000 @@ -94,7 +94,7 @@ break;
// YUV - case GL_YUV422_GEM: + case GL_YUV422_GEM: { int row=gem_ysize>>1; int cols=gem_xsize>>1; short u,v; @@ -131,7 +131,7 @@ pY += gem_xsize; pY2 += gem_xsize; } pdp_packet_pass_if_valid(m_pdpoutlet, &m_packet0); - break; + } break;
// grey case GL_LUMINANCE:
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada