http://bugs.winehq.org/show_bug.cgi?id=24270
Summary: kernel32/time.c tests fail under clang, but not gcc Product: Wine Version: 1.3.2 Platform: x86-64 OS/Version: Linux Status: NEW Keywords: download, source Severity: trivial Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
There are some other failures, but they are mostly timeouts or otherwise hard to diagnose. This one is pretty interesting though...: time.c:592: Test failed: Test SystemTimeToTzSpecificLocalTime #399. Got 2020-03-02 02:00. Expect hour = 03 time.c:592: Test failed: Test SystemTimeToTzSpecificLocalTime #403. Got 2020-03-02 02:00. Expect hour = 01 time.c:592: Test failed: Test SystemTimeToTzSpecificLocalTime #404. Got 2020-03-02 02:00. Expect hour = 01 time.c:592: Test failed: Test SystemTimeToTzSpecificLocalTime #405. Got 2020-03-02 02:00. Expect hour = 03 time.c:592: Test failed: Test SystemTimeToTzSpecificLocalTime #406. Got 2020-03-02 02:00. Expect hour = 01 time.c:592: Test failed: Test SystemTimeToTzSpecificLocalTime #407. Got 2020-03-02 02:00. Expect hour = 01 ... seems clang doesn't like that code. Doesn't give any compiler warnings/errors though: clang -m32 -c -I. -I. -I../../../include -I../../../include -DWINE_STRICT_PROTOTYPES -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -std=gnu89 -o time.o time.c ../../../tools/winegcc/winegcc -m32 -B../../../tools/winebuild --sysroot=../../.. -fasynchronous-unwind-tables actctx.o alloc.o atom.o change.o codepage.o comm.o console.o debugger.o directory.o drive.o environ.o fiber.o file.o format_msg.o generated.o heap.o loader.o locale.o mailslot.o module.o path.o pipe.o process.o profile.o resource.o sync.o thread.o time.o timer.o toolhelp.o version.o virtual.o volume.o resource.res testlist.o -o kernel32_test.exe.so ../../../libs/port/libwine_port.a -luser32 -ladvapi32