search for: signgam

Displaying 2 results from an estimated 2 matches for "signgam".

Did you mean: _signgam
2019 Jan 18
1
Re: [PATCH nbdkit 1/2] include: Fix NBDKIT_HANDLE_NOT_NEEDED for C90 compilers.
...VC 14 lacks <unistd.h>. Other POSIX standardized global variables: environ (but no standardized header declares it) daylight, getdate_err, timezone, tzname (<time.h>, but both marked XSI so not necessarily on all platforms) optarg, opterr, optopt (<unistd.h>, same boat as optind) signgam (<math.h>, but marked XSI, and requires -lm on some platforms) stdin, stdout, stderr (<stdio.h>) Also, pulling in the address of one of these forces the variable to be linked in. For errno or stdin, that's okay (you're probably linking it in anyways), but for the others, it may...
2019 Jan 18
2
Re: [PATCH nbdkit 1/2] include: Fix NBDKIT_HANDLE_NOT_NEEDED for C90 compilers.
On 1/14/19 6:15 AM, Richard W.M. Jones wrote: > When an ANSI/C90 plugin compiled with ‘-pedantic’ uses > NBDKIT_HANDLE_NOT_NEEDED it gets the error: > > ISO C forbids conversion of function pointer to object pointer type While POSIX requires it to work. But such is life. > > This is because the existing macro worked by returning a function > pointer but in C90 function