[ft-devel] missing 'const' on tt_post_default_names causes problems with writable static data

2008-10-15 Thread Graham Asher
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

Re: [ft-devel] missing 'const' on tt_post_default_names causes problems with writable static data

2008-10-15 Thread Werner LEMBERG
static const FT_String* tt_post_default_names[258] = - static const FT_String* const tt_post_default_names[258] = Applied, thanks. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org