[Bug 49708] New: wine-staging 5.15 fails to compile on GCC 4.9.2 with default flags (for loop initialization in mfplat-streaming-support)
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Aug 15 12:47:18 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=49708
Bug ID: 49708
Summary: wine-staging 5.15 fails to compile on GCC 4.9.2 with
default flags (for loop initialization in
mfplat-streaming-support)
Product: Wine-staging
Version: 5.15
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: o.dierick at piezo-forte.be
CC: leslie_alistair at hotmail.com, z.figura12 at gmail.com
Distribution: ---
Hello,
Using GCC 4.9.2 with default flags (=no CCFLAGS or custom options used),
compiling wine-staging 5.15 fails with:
/media/wine-shares/git/dlls/mf/topology.c: In function
‘topology_loader_enumerate_output_types’:
/media/wine-shares/git/dlls/mf/topology.c:1979:5: error: ‘for’ loop initial
declarations are only allowed in C99 or C11 mode
for (unsigned int i = 0; i < num_activates; i++)
^
/media/wine-shares/git/dlls/mf/topology.c:1979:5: note: use option -std=c99,
-std=gnu99, -std=c11 or -std=gnu11 to compile your code
That construct only appears in wine-staging patchset
'mfplat-streaming-support'.
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