Re: Issue: #include <stdio.h> shall not cause intmax_t to be defined

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Apr 27 00:41, Pavel M wrote:
> Hi all,
> 
> Issue: #include <stdio.h> shall not cause intmax_t to be defined. However,
> now it causes. This is because now <stdio.h> includes <sys/types.h>, which
> includes <sys/_stdint.h>.
> Note: per C11 the types intmax_t and uintmax_t defined in the header
> <stdint.h>, and <stdint.h> is not included in <stdio.h>.
> Consider fixing.

I pushed a patch to fix this.


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.