mirror of
https://github.com/reactos/reactos.git
synced 2025-05-23 02:56:09 +00:00
![]() This fixes the following compiler errors: ../sdk/lib/crt/stdio/stat64.c:7:13: error: inline function 'release_ioinfo' declared but never defined [-Werror] inline void release_ioinfo(ioinfo *info); ^~~~~~~~~~~~~~ ../sdk/lib/crt/stdio/stat64.c:6:16: error: inline function 'get_ioinfo' declared but never defined [-Werror] inline ioinfo* get_ioinfo(int fd); ^~~~~~~~~~ ../sdk/lib/crt/stdio/file.c:186:5: error: 'init_ioinfo_cs' is static but used in inline function 'get_ioinfo' which is not static [-Werror] init_ioinfo_cs(ret); ^~~~~~~~~~~~~~ ../sdk/lib/crt/stdio/file.c:183:19: error: 'get_ioinfo_nolock' is static but used in inline function 'get_ioinfo' which is not static [-Werror] ioinfo *ret = get_ioinfo_nolock(fd); |
||
---|---|---|
.. | ||
conio | ||
direct | ||
except | ||
float | ||
include | ||
locale | ||
math | ||
mbstring | ||
mem | ||
misc | ||
printf | ||
process | ||
search | ||
setjmp | ||
signal | ||
startup | ||
stdio | ||
stdlib | ||
string | ||
sys_stat | ||
time | ||
wine | ||
wstring | ||
CMakeLists.txt | ||
crt.cmake | ||
libcntpr.cmake | ||
moldname-msvcrt.def | ||
msvcrtex.cmake | ||
oldnames-msvcrt.S | ||
oldnames.cmake | ||
precomp.h | ||
README.txt |
Big chunks of this CRT library are taken from Wine's msvcrt implementation, you can find a list of synced files in README.WINE file. Notes: 1. When syncing, omit MSVCRT_ prefix where possible, Wine has to keep this because they are linking with *both* original crt, and ms crt implementation. ReactOS has the only CRT, so no need to make distinct functions. 2. ReactOS compiles two versions of the CRT library, one for usermode (called just "crt"), and one version for kernelmode usage (called "libcntpr"). In order to separate the code, you can use #ifdef _LIBCNT_ for libcntpr code.