apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject Re: Adding gcc attributes to function declarations
Date Sun, 15 May 2011 09:48:57 GMT
On Sun, 15 May 2011, Stefan Fritsch wrote:
> I think it would be a good idea to add some more gcc attribute annotations to 
> our header to mark parameters that must not be NULL, etc. We already have 
> some of these for format string.
>
> In order to not break other compilers, I thought to just include
>
> #if !defined(__GNUC__)
> #define __attribute__(x)
> #endif

Ignore this mail. This code is already contained in apr.h.in

Mime
View raw message