tech-userlevel archive

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

Re: _NETBSD_SOURCE always defined leading to unwanted inclusions



On Sat, Apr 20, 2019 at 10:30:48PM +0200, tlaronde%polynum.com@localhost wrote:
> A first problem (YMMV) is that <time.h> can not be included anywhere
> but only outside of a block, since there are definitions and not only
> declarations.

This is just plainly broken. The standard makes no guarantees about any
function being implemented as inline for example and that would result
in nested functions.

Joerg


Home | Main Index | Thread Index | Old Index