[GEM-dev] GemPBuffer.cpp:304: error: invalid conversion from 'long int*' to 'GLint*'

Hans-Christoph Steiner hans at eds.org
Wed Sep 26 17:08:33 CEST 2007


There's more, from the same machine:

g++ -c -I/sw/include -g -O2 -fPIC -freg-struct-return -Os -falign- 
loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast- 
math -mmmx -fpascal-strings  -I/sw/include -I/sw/include/FTGL -I/sw/ 
lib/freetype219/include -I/sw/lib/freetype219/include/freetype2   - 
I..  -I/usr/include/FTGL -I/usr/include/freetype2 -I/Users/hans/auto- 
build/pd-extended-release/pd/src  linear_path.cpp -o linear_path.o
glsl_program.cpp: In member function 'virtual void  
glsl_program::LinkProgram()':
glsl_program.cpp:430: error: invalid conversion from 'long int*' to  
'GLint*'
glsl_program.cpp:430: error:   initializing argument 3 of 'CGLError  
CGLGetParameter(_CGLContextObject*, CGLContextParameter, GLint*)'
glsl_program.cpp:431: error: invalid conversion from 'long int*' to  
'GLint*'
glsl_program.cpp:431: error:   initializing argument 3 of 'CGLError  
CGLGetParameter(_CGLContextObject*, CGLContextParameter, GLint*)'
make[3]: *** [glsl_program.o] Error 1


.hc




On Sep 26, 2007, at 10:40 AM, IOhannes m zmoelnig wrote:

> chris clepper wrote:
>> Odd.  Should be fixed in CVS.
>>
>
> hi.
>
> 2 questions:
> - shouldn't the fix rather be the use of (GLint) as the type for npf
> than a cast?
> - for some unknown reasons your commits do not show up at the gem-cvs
> mailinglist. do you have any idea why this could be? it works for all
> other commits (e.g. me, hcs,...)
>
>
> fgmadsr.
> IOhannes
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev







------------------------------------------------------------------------ 
----

"It is convenient to imagine a power beyond us because that means we  
don't have to examine our own lives.", from "The Idols of  
Environmentalism", by Curtis White








More information about the GEM-dev mailing list