[cfe-dev] Variadic macro support test
Eli Friedman
eli.friedman at gmail.com
Mon Sep 30 12:24:15 PDT 2013
On Mon, Sep 30, 2013 at 10:11 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Edward Diener <eldlistmailingz at tropicsoft.com>
> writes:
>
> > Which predefined macro(s) allows me to test whether clang supports
> > variadic macros when compiling ?
>
> I guess that checking the compiler's version is okay. IIRC they are
> supported since 3.1, at least.
>
>
> I would suggest just assuming all versions of clang support variadic
macros.
-Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130930/d88f11f3/attachment.html>
More information about the cfe-dev
mailing list