std.cfg: Add rsize_t and errno_t configurations. (#1229)

This commit is contained in:
Sebastian 2018-05-16 10:12:37 +02:00 committed by GitHub
parent 4e38627a3d
commit fdc98e5665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,8 @@
<define name="UINT_LEAST16_MAX" value="65535"/> <define name="UINT_LEAST16_MAX" value="65535"/>
<define name="UINT_LEAST32_MAX" value="4294967295"/> <define name="UINT_LEAST32_MAX" value="4294967295"/>
<define name="UINT_LEAST64_MAX" value="18446744073709551615"/> <define name="UINT_LEAST64_MAX" value="18446744073709551615"/>
<!-- errno_t is a typedef for int -->
<define name="errno_t" value="int"/>
<!-- void abort(void); --> <!-- void abort(void); -->
<function name="abort,std::abort"> <function name="abort,std::abort">
<noreturn>true</noreturn> <noreturn>true</noreturn>
@ -6789,6 +6791,8 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<podtype name="intmax_t,std::intmax_t" sign="s"/> <podtype name="intmax_t,std::intmax_t" sign="s"/>
<podtype name="uintmax_t,std::uintmax_t" sign="u"/> <podtype name="uintmax_t,std::uintmax_t" sign="u"/>
<podtype name="size_t" sign="u"/> <podtype name="size_t" sign="u"/>
<!-- rsize_t is a typedef for size_t -->
<podtype name="rsize_t" sign="u"/>
<podtype name="double_t"/> <podtype name="double_t"/>
<podtype name="float_t"/> <podtype name="float_t"/>
<podtype name="time_t"/> <podtype name="time_t"/>