[Bug 52478] wine-staging 7.1 build fails

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jan 30 11:07:26 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52478

--- Comment #6 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
Hello,

--- quote from dlls/xactengine3_7/xact_dll.c ---
(...)
static inline void unwrap_notificationdesc(FACTNotificationDescription *fd,
(...)
    /* we can't use a switch statement, because the constants are static const
     * variables, and some compilers can't deal with that */

    /* Supports SoundBank, Cue index, Cue instance */
    if (fd->type == FACTNOTIFICATIONTYPE_CUEPREPARED || fd->type ==
FACTNOTIFICATIONTYPE_CUEPLAY ||
(...)
--- end quote ---

If we want to be consistent with existing code, I don't think we have a choice.

Please consider using the attached patch for Staging.
I think it's logically correct and will fix the issue for all compilers.

Regards.

-- 
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