On 7/28/07 7:29 AM, Werner LEMBERG said:
I have updated VTK to freetype 2.3.5 and there are only 2 compiler
warnings this time (much better than 2.3.4). They are here:
Fixed in the CVS. Please test.
Thanks, the fixes were good. I just found one more actually, in ftmac.c:
ftmac.c: In function 'FT_New_Face_From_LWFN':
ftmac.c:788: warning: passing argument 5 of 'open_face_from_buffer'
discards qualifiers from pointer target type
ftmac.c: In function 'FT_New_Face_From_SFNT':
ftmac.c:831: warning: passing argument 5 of 'open_face_from_buffer'
discards qualifiers from pointer target type
The fix is to make the 5th param of open_face_from_buffer() "const".