bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] gnulib-common.m4: add _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_


From: Bruno Haible
Subject: Re: [PATCH] gnulib-common.m4: add _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE
Date: Mon, 6 Jun 2011 11:00:24 +0200
User-agent: KMail/1.9.9

Hi Jim,

> I'll be adding uses separately, in headers when possible.

Good. Note that in .h files that are meant to be installable stand-alone,
that is, most of the *.in.h files, we need to repeat the definition of
these macros in the header file. Like we do with _GL_ATTRIBUTE_PURE in
string.in.h already. The definition in gnulib-common.m4 is for the benefit
of the other *.h files and all *.c files only.

Bruno
-- 
In memoriam Robert F. Kennedy <http://en.wikipedia.org/wiki/Robert_F._Kennedy>



reply via email to

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