2 Jun
2024
2 Jun
'24
10:57 a.m.
Piotr Caban (@piotr) commented about dlls/msvcrt/tests/file.c:
+ int _flag; + int _file; + int _charbuf; + int _bufsiz; + char* _tmpfname; +}; + +static void test_iobuf_layout(void) +{ + char *tempf; + FILE *file; + char *ptrold; + int cntold; + + ok(offsetof(FILE, _base)==offsetof(struct test_iobuf, _base) && + offsetof(FILE, _cnt)==offsetof(struct test_iobuf, _cnt), "FILE layout incorrect"); This will not compile with PSDK (at least with version that define FILE so it only contains `void * _Placeholder`). Please remove that test and use `test_iobuf` struct instead.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5752#note_72105