bug-gnulib
[Top][All Lists]
Advanced

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

Re: Some more <config.h> reminders


From: Paul Eggert
Subject: Re: Some more <config.h> reminders
Date: Thu, 13 Apr 2023 15:02:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 4/13/23 14:56, Bruno Haible wrote:

 /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, 
_GL_ATTRIBUTE_ALLOC_SIZE,
-   _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL.  */
+   _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL, HAVE_POSIX_MEMALIGN.  
*/
 #if !_GL_CONFIG_H_INCLUDED

At some point it might be better to omit those comments as bitrot is likely to set in as code evolves but comments don't.

If we just put the "Please include config.h first." stuff at the start of all public .h files, that'd be easier to maintain and would likely encourage slightly better usage anyway.



reply via email to

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