On Apr 14, 2005, at 10:32 PM, Jay Summet wrote:
-----BEGIN PGP SIGNED MESSAGE-----
I ran into an interesting bug when attempting to add imlib2 to a program that
uses GLUT. The program would compile/link fine, but segfault when the
imlib_load_image() call was made. (initial call to imlib)
The fix?
change: int time;
to: //int time;
time is a standard C function so if you declare a variable, well you just
overwrote it, this is not a GCC bug or even a imLib2/glut bug but
a bug in your program.
-- Pinski