[Bug 24270] kernel32/time.c tests fail due to being miscompiled by clang, but not gcc (not a Wine bug)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 6 10:57:15 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=24270

--- Comment #9 from Austin English <austinenglish at gmail.com> 2010-09-06 10:57:14 CDT ---
Created an attachment (id=30606)
 --> (http://bugs.winehq.org/attachment.cgi?id=30606)
patch

Actually, it may be a gcc bug that clang exposes. This patch fixes it on clang.

Notice that there are two similar tests (for TzSpecificLocalTimeToSystemTime
and SystemTimeToTzSpecificLocalTime). The SystemTimeToTzSpecificLocalTime
currently fails on clang, and the yeardays[] array is missing a final {0}
entry. On gcc this passes, but clang fails (perhaps rightly?).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list