Mercurial > hg > xemacs-beta
comparison src/compiler.h @ 3094:ad2f4ae9895b
[xemacs-hg @ 2005-11-26 11:45:47 by stephent]
Xft merge. <87k6ev4p8q.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Sat, 26 Nov 2005 11:46:25 +0000 |
parents | facf3239ba30 |
children | f386b9b92417 |
comparison
equal
deleted
inserted
replaced
3093:769dc945b085 | 3094:ad2f4ae9895b |
---|---|
209 # define CONST_FUNC const | 209 # define CONST_FUNC const |
210 # endif /* GCC_VERSION >= NEED_GCC (2, 5, 0) */ | 210 # endif /* GCC_VERSION >= NEED_GCC (2, 5, 0) */ |
211 #endif /* ATTRIBUTE_CONST */ | 211 #endif /* ATTRIBUTE_CONST */ |
212 | 212 |
213 /* Unused declarations; g++ and icc do not support this. */ | 213 /* Unused declarations; g++ and icc do not support this. */ |
214 /* | |
215 NOTE: These macros MUST be named UNUSED (exactly) or something | |
216 prefixed with USED_IF_, or DEFUN docstrings will be parsed incorrectly. | |
217 See comments in make_docfile.c (write_c_args). You'd think that this | |
218 wouldn't happen, but unfortunately we do indeed have some arguments | |
219 of DEFUNs unused for GNU compatibility or because features are missing. | |
220 */ | |
214 #ifndef UNUSED_ARG | 221 #ifndef UNUSED_ARG |
215 # define UNUSED_ARG(decl) unused_##decl | 222 # define UNUSED_ARG(decl) unused_##decl |
216 #endif | 223 #endif |
217 #ifndef UNUSED | 224 #ifndef UNUSED |
218 # if defined(__GNUC__) && !defined(__cplusplus) && !defined(__INTEL_COMPILER) | 225 # if defined(__GNUC__) && !defined(__cplusplus) && !defined(__INTEL_COMPILER) |
228 # endif | 235 # endif |
229 # if defined (MULE) || defined (ERROR_CHECK_TEXT) | 236 # if defined (MULE) || defined (ERROR_CHECK_TEXT) |
230 # define USED_IF_MULE_OR_CHECK_TEXT(decl) decl | 237 # define USED_IF_MULE_OR_CHECK_TEXT(decl) decl |
231 # else | 238 # else |
232 # define USED_IF_MULE_OR_CHECK_TEXT(decl) UNUSED (decl) | 239 # define USED_IF_MULE_OR_CHECK_TEXT(decl) UNUSED (decl) |
240 # endif | |
241 # ifdef USE_XFT | |
242 # define USED_IF_XFT(decl) decl | |
243 # else | |
244 # define USED_IF_XFT(decl) UNUSED (decl) | |
233 # endif | 245 # endif |
234 #endif /* UNUSED */ | 246 #endif /* UNUSED */ |
235 | 247 |
236 #ifdef DEBUG_XEMACS | 248 #ifdef DEBUG_XEMACS |
237 # define REGISTER | 249 # define REGISTER |