Cc: [EMAIL PROTECTED], Marcus Brinkmann <[EMAIL PROTECTED]>, [EMAIL PROTECTED] X-Reply-Permission: Posted or emailed replies to this message constitute permission for an emailed response. X-PGP-Fingerprint: 1F0A1E51 63 28 EB DA E6 44 E5 5E EC F3 04 26 4E BF 1A 92 X-Zippy-Says: Hmmm.. a CRIPPLED ACCOUNTANT with a FALAFEL sandwich is HIT by a TROLLEY-CAR.. From: [EMAIL PROTECTED] (Thomas Bushnell, BSG) Date: 02 Jun 2002 12:55:00 -0700 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Content-Type: text/plain; charset=iso-8859-1
[EMAIL PROTECTED] (Niels Möller) writes: > I'm not sure you're really asking about the C details, but if you are, > the answer is something like > > #define COMPARE(type) \ > int \ > ps_cmp_##type(type a, type b) { ... } > > Note that there must be no space between COMPARE and (, and that you > need the token concatenation operator ##. Preferred syntax (which, please use in Hurd code), is to put spaces around the ## concatenation operator. Well, that doesn't work anymore. Here is a recent checkin by Marcus that briefly explains why. 2002-05-13 Marcus Brinkmann <[EMAIL PROTECTED]> * version.h.in (STANDARD_HURD_VERSION): Remove EXTRA argument, because cpp 3.0 is not removing any token before ##args that is not a single comma, in order to be more C99 compliant. James A. Morrison _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd