Re: [PATCH 3/9] Avoid use of internal glibc sys/cdefs.h header

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

 



On Tue, Dec 16, 2014 at 09:28:54AM +0100, Natanael Copa wrote:
> This header was never intended to be used by programs.
> 
> Expand the macros used, __BEGIN_CDECLS, __END_CDECLS

Keeping __BEGIN_DECLS/__END_DECLS instead of the ifdef hell sounds
sensible, I'd suggest to just provide them if they don't exist.

Note that these are BSDishms, and not glibcisms, and used fairly widely,
so adding them to musl might be a good idea.

> The __THROW macro is a non-portable hint for optimization so we simply
> remove those.

These are important for C++, so please provide a defintion if not
present.

Against it would be useful if musl provided it.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux