blob: fb0fee0b04af9f0308a0b8e6682be3faa50cd090 [file] [log] [blame]
Werner Lemberg1639c792006-05-06 16:44:58 +00001This file describes various problems that have been encountered in
2compiling, installing and running FreeType 2. Suggestions for
3additions or other improvements to this file are welcome.
Werner Lemberg764b2512006-04-03 16:42:39 +00004
Werner Lemberg1639c792006-05-06 16:44:58 +00005----------------------------------------------------------------------
Werner Lemberg764b2512006-04-03 16:42:39 +00006
7
8Compilation Problems
9====================
10
11
Werner Lemberg1639c792006-05-06 16:44:58 +000012* I get an `internal compilation error' (ICE) while compiling FreeType
13 2.2.1 with Intel C++.
Werner Lemberg764b2512006-04-03 16:42:39 +000014
Werner Lembergde2d90a2006-05-17 08:54:30 +000015 This has been reported for the following compiler version:
16
17 Intel(R) C++ Compiler for 32-bit applications,
18 Version 9.0 Build 20050430Z Package ID: W_CC_P_9.0.019
19
20-----
21
22The best solution is to update the compiler to version
Werner Lemberg764b2512006-04-03 16:42:39 +000023
24 Intel(R) C++ Compiler for 32-bit applications,
Werner Lembergde2d90a2006-05-17 08:54:30 +000025 Version 9.1 Build 20060323Z Package ID: W_CC_P_9.1.022
Werner Lemberg764b2512006-04-03 16:42:39 +000026
Werner Lembergde2d90a2006-05-17 08:54:30 +000027or newer. If this isn't feasible, apply the following patch.
Werner Lemberg764b2512006-04-03 16:42:39 +000028
29
Werner Lembergde2d90a2006-05-17 08:54:30 +000030--- src/cache/ftcbasic.c 20 Mar 2006 12:10:24 -0000 1.20
31+++ src/cache/ftcbasic.c.patched 15 May 2006 02:51:02 -0000
32@@ -252,7 +252,7 @@
33 */
34
35 FT_CALLBACK_TABLE_DEF
36- const FTC_IFamilyClassRec ftc_basic_image_family_class =
37+ FTC_IFamilyClassRec ftc_basic_image_family_class =
38 {
39 {
40 sizeof ( FTC_BasicFamilyRec ),
Werner Lemberg764b2512006-04-03 16:42:39 +000041@@ -266,7 +266,7 @@
Werner Lembergde2d90a2006-05-17 08:54:30 +000042
43
Werner Lemberg764b2512006-04-03 16:42:39 +000044 FT_CALLBACK_TABLE_DEF
45- const FTC_GCacheClassRec ftc_basic_image_cache_class =
46+ FTC_GCacheClassRec ftc_basic_image_cache_class =
47 {
48 {
49 ftc_inode_new,
50
51
Werner Lemberg1639c792006-05-06 16:44:58 +000052----------------------------------------------------------------------