Re: What happen to UINT16_MAX

2017-06-01 Thread Ian Pilcher
On 06/01/2017 02:09 PM, Jonathan Wakely wrote: On 01/06/17 13:20 -0500, Ian Pilcher wrote: Actually, you need inttypes.h for the limit macros. You're thinking of the format specifier macros for printf. The limit macros are in . Right you are. Sorry for the misinformation. -- =

Re: What happen to UINT16_MAX

2017-06-01 Thread Jonathan Wakely
On 01/06/17 13:20 -0500, Ian Pilcher wrote: On 06/01/2017 01:07 PM, Tom Hughes wrote: Well presumably you're not including stdint.h for some reason. Actually, you need inttypes.h for the limit macros. You're thinking of the format specifier macros for printf. The limit macros are in . _

Re: What happen to UINT16_MAX

2017-06-01 Thread Ian Pilcher
On 06/01/2017 01:07 PM, Tom Hughes wrote: Well presumably you're not including stdint.h for some reason. Actually, you need inttypes.h for the limit macros. -- Ian Pilcher arequip..

Re: What happen to UINT16_MAX

2017-06-01 Thread Tom Hughes
On 01/06/17 19:00, Steve Dickson wrote: Doing koji build of nfs-utils in rawhide I'm getting the following errors: rpc.c: In function 'nsm_recv_getport': rpc.c:469:13: error: 'UINT16_MAX' undeclared (first use in this function); did you mean 'UINT_MAX'? if (port > UINT16_MAX) {

What happen to UINT16_MAX

2017-06-01 Thread Steve Dickson
Hello, Doing koji build of nfs-utils in rawhide I'm getting the following errors: rpc.c: In function 'nsm_recv_getport': rpc.c:469:13: error: 'UINT16_MAX' undeclared (first use in this function); did you mean 'UINT_MAX'? if (port > UINT16_MAX) { ^~ UINT_MAX f