Re: What happen to UINT16_MAX
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. -- Ian Pilcher arequip...@gmail.com "I grew up before Mark Zuckerberg invented friendship" ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: What happen to UINT16_MAX
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 . ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: What happen to UINT16_MAX
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...@gmail.com "I grew up before Mark Zuckerberg invented friendship" ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: What happen to UINT16_MAX
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) { ^~ UINT_MAX f26 and f25 build and when I clone the nfs-utils tree on rawhide vm that build work fine as well. Any idea what is going on? Well presumably you're not including stdint.h for some reason. Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
What happen to UINT16_MAX
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 f26 and f25 build and when I clone the nfs-utils tree on rawhide vm that build work fine as well. Any idea what is going on? tia, steved. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org