diff options
author | Egbert Eich <eich@suse.de> | 2005-05-17 08:10:10 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2005-05-17 08:10:10 +0000 |
commit | 1d14cc37d43bf349ee18e748f62913a0963f6e85 (patch) | |
tree | 9c07d6e5d358d2f7746241b8ddd0151270f9cf75 /src/xftdraw.c | |
parent | 0161d08ecd543c80e5625bf63d0091dbccd95f4e (diff) | |
download | xorg-lib-libXft-1d14cc37d43bf349ee18e748f62913a0963f6e85.tar.gz |
gcc4 allows to check if sentinels are correct (a sentinel is theXORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10
terminating element in a varargs list). A sentinel needs to be NULL,
not 0 - which doesn't make a difference on 32bit but matters on 64bit.
Furthermore it can be told that functions have a printf-like format
string and argument list so that they can verify that both match. To
use these features certain attributes need to be set - which are
compiler specific. To do this we define macros which are expanded
depending on the compiler version. For now we put those in
include/Xfuncproto.h (the XFree86 DDX layer contains a file compiler.h
which however is not visible outside the DDX) (Bugzilla #3268).
Diffstat (limited to 'src/xftdraw.c')
0 files changed, 0 insertions, 0 deletions