evg evg tmp fontconfig gcc -fno-strict-aliasing -DNDEBUG -pipe -Wall -

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
evg@evg ~/tmp/fontconfig $gcc -fno-strict-aliasing -DNDEBUG -pipe -Wall -O2 -march=i586 -mtune=i686 -fPIC -DPIC -D_GNU_SOURCE -fPIC -I/usr/include/fontconfig -I/usr/include/python2.5 -c *.c -o fontconfig.o
fontconfig.c: In function ‘fontconfig_initialize’:
fontconfig.c:36: warning: pointer targets in passing argument 2 of ‘FcConfigParseAndLoad’ differ in signedness
/usr/include/fontconfig/fontconfig.h:944: note: expected ‘const FcChar8 *’ but argument is of type ‘char *’
fontconfig.c: At top level:
fontconfig.c:48: warning: return type defaults to ‘int’
fontconfig.c: In function ‘fontconfig_find_font_families’:
fontconfig.c:105: warning: implicit declaration of function ‘PyBytes_AS_STRING’
fontconfig.c:105: warning: assignment makes pointer from integer without a cast
fontconfig.c:106: warning: implicit declaration of function ‘PyBytes_GET_SIZE’
fontconfig.c:108: warning: implicit declaration of function ‘PyOS_strnicmp’
fontconfig.c:114: warning: pointer targets in passing argument 1 of ‘PyString_FromString’ differ in signedness
/usr/include/python2.5/stringobject.h:62: note: expected ‘const char *’ but argument is of type ‘const FcChar8 *’
fontconfig.c: In function ‘fontconfig_files_for_family’:
fontconfig.c:172: warning: implicit declaration of function ‘PyBytes_FromString’
fontconfig.c:172: warning: assignment makes pointer from integer without a cast
fontconfig.c:175: warning: assignment makes pointer from integer without a cast
fontconfig.c:178: warning: assignment makes pointer from integer without a cast
fontconfig.c:181: warning: assignment makes pointer from integer without a cast
fontconfig.c: In function ‘fontconfig_match’:
fontconfig.c:216: warning: pointer targets in passing argument 1 of ‘FcNameParse’ differ in signedness
/usr/include/fontconfig/fontconfig.h:737: note: expected ‘const FcChar8 *’ but argument is of type ‘char *’
fontconfig.c:258: warning: assignment makes pointer from integer without a cast
fontconfig.c:261: warning: assignment makes pointer from integer without a cast
fontconfig.c:264: warning: assignment makes pointer from integer without a cast
fontconfig.c:267: warning: assignment makes pointer from integer without a cast
fontconfig.c: In function ‘fontconfig_cleanup_find’:
fontconfig.c:52: warning: control reaches end of non-void function
evg@evg ~/tmp/fontconfig $gcc -pthread -shared -L/usr/lib -lfontconfig -lpython2.5 fontconfig.o -o fontconfig.so
evg@evg ~/tmp/fontconfig $nm -CD fontconfig.so G 'U'
U FcConfigBuildFonts
U FcConfigCreate
U FcConfigGetCurrent
U FcConfigParseAndLoad
U FcConfigSetCurrent
U FcConfigSubstitute
U FcDefaultSubstitute
U FcFontList
U FcFontMatch
U FcFontRenderPrepare
U FcFontSetAdd
U FcFontSetCreate
U FcFontSetDestroy
U FcFontSort
U FcInit
U FcNameParse
U FcObjectSetAdd
U FcObjectSetCreate
U FcObjectSetDestroy
U FcPatternBuild
U FcPatternCreate
U FcPatternDestroy
U FcPatternGet
U FcPatternPrint
U PyBytes_AS_STRING
U PyBytes_FromString
U PyBytes_GET_SIZE
U PyErr_NoMemory
U PyErr_SetString
U PyEval_RestoreThread
U PyEval_SaveThread
U PyExc_ValueError
U PyInt_FromLong
U PyList_Append
U PyList_New
U PyOS_strnicmp
U PyObject_IsTrue
U PySequence_Check
U PySequence_Size
U PyString_FromString
U PyTuple_New
U Py_InitModule4
U _PyArg_ParseTuple_SizeT
U _Py_TrueStruct
U _Py_ZeroStruct
U strlen
evg@evg ~/tmp/fontconfig $