libyaml
libyaml copied to clipboard
error
if build dll with no CRT(/MTd or /MT), yaml_parser_scan or yaml_parser_parse will assert by fread.
hi, would you provide more details about how you build the libyaml and what is the error message? From given info, it is hard to reproduce


hi, it is hard to produce this error by seeing at error picture, would you plz tell me how did you "build dll with no CRT(/MTd or /MT)"? hi,从报错图片上很难复现问题,可以提供你是怎么下载libyaml,和用dll编译libyaml的吗?
全部是/MT(d),包括DLL和EXE。
_osfile(fh) & FOPEN assert indicates the handle is closed too early. I don't remember, but that might be because of, for example, of call to CloseHandle(GetStdHandle(STD_OUTPUT_HANDLE)) or to fclose(stdout).