Variadic Macros

Dmitry Perfilyev <dp@co.ru>
6 May 2003 01:12:42 -0400

          From comp.compilers

Related articles
Variadic Macros dp@co.ru (Dmitry Perfilyev) (2003-05-06)
Re: Variadic Macros Marko.Makela@HUT.FI (Marko =?ISO-8859-1?Q?M=E4kel=E4?=) (2003-05-12)
| List of all articles for this month |

From: Dmitry Perfilyev <dp@co.ru>
Newsgroups: comp.compilers
Date: 6 May 2003 01:12:42 -0400
Organization: JSC Combellga
Keywords: macros, question
Posted-Date: 06 May 2003 01:12:42 EDT

        HI.
  Which compilers support "Variadic Macros"
(as described in C99 standart) ?
Example:


        #define eprintf(format, ...) fprintf (stderr, format, __VA_ARGS__)


I tested :
  gcc(3.2.2) - OK
  (Sun WorkShop 6) - NOT OK
--
      Dmitry Perfilyev
            JSC Combellga
                    www.co.ru


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.