Here's another small problem I found when porting to 2.3.7. There's a
missing 'const' in the declaration of the array tt_post_default_names. It
causes the pointers to be non-const, and that creates 1032 (4 * 258) bytes
of writable static data, which prevents builds from working for several
platforms including Symbian OS.

The fix is (line 67 of ttpost.c):

<    static const FT_String*  tt_post_default_names[258] =
->   static const FT_String* const  tt_post_default_names[258] =

Best regards,

Graham




_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to