Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: va_start without the first argument? Date: Mon, 13 Mar 2017 11:21:39 -0700 Organization: None to speak of Lines: 18 Message-ID: References: <6efb4ec5-8a50-4ecd-95ac-3328682a7a03@googlegroups.com> <1c6010ab-c0e6-468b-8b9d-94cbe2aa4ac8@googlegroups.com> <3fb4148c-8b5b-468c-8399-e5a5fc8575ee@googlegroups.com> <7fda2e02-9a6a-411f-9d91-1ad9030ec778@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="e86959933eec20efe5d4d00026d36999"; logging-data="15267"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iUcN0f8KjhpJXzzlI6W4Z" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:RKdrDgZ1POPfgOD+GThio3+gy5s= sha1:0wPDGmOU1TX3v0PjjzYctOUQwXQ= Xref: csiph.com comp.lang.c:105925 supercat@casperkitty.com writes: [...] > The main compiler I use supports an extension which I think debuted in gcc, > which doesn't actually execute anything but returns 1 if an expression can > be evaluated as a compile-time constant and zero if it cannot. This makes > it practical to have a macro which does an action one of two ways depending > upon which is more efficient. Being able to express such concepts more > elegantly than via preprocessor macros would be nice, but the macros do work > and the code is readable on the incocation side at least. [...] What compiler? What is the name of the extension? -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"