bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: manywarnings for C++


From: Reuben Thomas
Subject: Re: manywarnings for C++
Date: Mon, 7 Aug 2017 16:14:19 +0100

On 7 August 2017 at 16:12, Bruno Haible <address@hidden> wrote:
Reuben Thomas wrote:
> the ability to AC_DEFUN a
> macro with a particular argument, as in:​
>
> ​AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS(C)],​
>
> so that it is possible to AC_REQUIRE such a macro.

The '(C)' part is not an argument to the function. It's part of the
function name. By convention, such a function name is used to indicate the
implementation of an autoconf macro for a particular _AC_LANG value.

​So how does one supply an argument? Is it

gl_UNKNOWN_WARNINGS_ARE_ERRORS(C)([variable])?​

--

reply via email to

[Prev in Thread] Current Thread [Next in Thread]