CVS Update: xc (branch: trunk)

Egbert Eich xorg-commit at cvs.freedesktop.org
Tue May 17 11:10:11 EEST 2005


CVSROOT:	/cvs/xorg
Module name:	xc
Changes by:	eich at gabe.freedesktop.org	05/05/17 01:10:11

Log message:
  2005-05-17  Egbert Eich  <eich-at-freedesktop-dot-org>
  
          * include/Xfuncproto.h:
          * lib/X11/Xlib.h:
          * lib/Xt/Intrinsic.h:
          * lib/Xt/IntrinsicI.h:
  
          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).

Modified files:
      ./:
        ChangeLog 
      xc/include/:
        Xfuncproto.h 
      xc/lib/X11/:
        Xlib.h 
      xc/lib/Xft/:
        ChangeLog Xft.h 
      xc/lib/Xt/:
        Intrinsic.h IntrinsicI.h 
  
  Revision      Changes    Path
  1.931         +22 -0     xc/ChangeLog
  1.3           +8 -0      xc/include/Xfuncproto.h
  1.4           +12 -12    xc/lib/X11/Xlib.h
  1.5           +6 -0      xc/lib/Xft/ChangeLog
  1.3           +5 -2      xc/lib/Xft/Xft.h
  1.4           +13 -13    xc/lib/Xt/Intrinsic.h
  1.4           +1 -1      xc/lib/Xt/IntrinsicI.h




More information about the xorg-commit mailing list