[Gridflow-dev] compiling in 64bit mode

Mathieu Bouchard matju at artengine.ca
Sat Mar 18 13:01:38 EST 2006


On Sat, 18 Mar 2006, Alexandre Castonguay wrote:

g++ -I/usr/local/include -I/home/alx/include -xc++ -fno-operator-names
-fno-omit-frame-pointer -I/usr/X11R6/include
-I/usr/local/lib/ruby/1.9/x86_64-linux -I../Gem/src -falign-functions=16
-Wall -Wno-unused -Wunused-variable -fno-omit-frame-pointer -g -fPIC -I.
-O3 -funroll-loops -c format/videodev.c.fcs -o format/videodev.o
format/videodev.c.fcs: In member function 'void
FormatVideoDev::alloc_image(int, Ruby*)': format/videodev.c.fcs:345:
error: cast from 'uint8*' to 'int' loses precision make: ***
[format/videodev.o] Erreur 1

change (int)image to (long)image

i just fixed it in CVS.

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada



More information about the Gridflow-dev mailing list