summaryrefslogtreecommitdiff
path: root/man/XDrawRectangle.man
diff options
context:
space:
mode:
authorEgbert Eich <eich-at-freedesktop-dot-org>2005-05-17 08:10:10 +0000
committerEgbert Eich <eich-at-freedesktop-dot-org>2005-05-17 08:10:10 +0000
commit46e8d8a65430dd87c10b066b5cff99a689c22241 (patch)
tree029575822dac1985e5e1592567f3b3d05661dad4 /man/XDrawRectangle.man
parent23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 (diff)
gcc4 allows to check if sentinels are correct (a sentinel is the 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).XORG-6_8_99_9
Diffstat (limited to 'man/XDrawRectangle.man')
0 files changed, 0 insertions, 0 deletions