[PATCH 3/5] Add type checking to swap macros
Peter Harris
pharris at opentext.com
Tue Aug 16 11:14:32 PDT 2011
On 2011-08-04 18:06, Matt Turner wrote:
> +void __attribute__((error("wrong sized variable passed to swap"))) wrong_size(void);
__attribute__ is gcc only. Is it possible to #ifdef this to something
portable, or at least a noop?
Most of this type of thing are in Xfuncproto.h.in in proto/x11proto.
Thanks,
Peter Harris
--
Open Text Connectivity Solutions Group
Peter Harris http://connectivity.opentext.com/
Research and Development Phone: +1 905 762 6001
pharris at opentext.com Toll Free: 1 877 359 4866
More information about the xorg-devel
mailing list