Dieter Nützel wrote:
gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -Wall -O -march=athlon -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include main/texobj.c -o main/texobj.o
main/texcompress_s3tc.c: In function `_mesa_init_texture_s3tc':
main/texcompress_s3tc.c:78: Warnung: ISO C forbids assignment between function pointer and `void *'
main/texcompress_s3tc.c:81: Warnung: ISO C forbids assignment between function pointer and `void *'
main/texcompress_s3tc.c:85: Warnung: ISO C forbids assignment between function pointer and `void *'
main/texcompress_s3tc.c:89: Warnung: ISO C forbids assignment between function pointer and `void *'
main/texcompress_s3tc.c:93: Warnung: ISO C forbids assignment between function pointer and `void *'

This warning exists since I've put the dynamic loader in there. The problem is dlsym naturally returns a void pointer, not a function pointer. Casting it directly will just cause a different compiler warning...
I'll see if I can figure it out. Either way, it's not really a problem.


Roland


------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to