Closed Bug 740324 Opened 13 years ago Closed 13 years ago

cubeb_winmm.c fails to compile on GCC

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: jacek, Assigned: jacek)

References

Details

Attachments

(1 file)

Attached patch fix v1.0Splinter Review
After landing 731807, GUID KSDATAFORMAT_SUBTYPE_PCM (and GUID KSDATAFORMAT_SUBTYPE_IEEE_FLOAT) are declared as static const ub cubeb_winmm.c, while they are still declared as extern const in mmreg.h. GCC complains that those declarations conflict. It's surprising MSVC doesn't. Removing static fixes the problem.
Attachment #610522 - Flags: review?(jmathies)
Comment on attachment 610522 [details] [diff] [review] fix v1.0 sorry bout that.
Attachment #610522 - Flags: review?(jmathies) → review+
Target Milestone: --- → mozilla14
Assignee: nobody → jacek
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: