| Summary: | Compilation error with clang 12.0.0 due to missing include | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | kreeblah |
| Component: | misc | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | 1.2.12 | ||
| Hardware: | x86_64 | ||
| OS: | macOS 10.15 | ||
| Attachments: | Fixes compilation error due to missing include in mixer.c | ||
Fixed. Thanks. https://hg.libsdl.org/SDL_mixer/rev/33a3817d1066 |
Created attachment 4468 [details] Fixes compilation error due to missing include in mixer.c Compilation fails in clang 12.0.0 on mixer.c due to a missing include: mixer.c:153:46: error: implicit declaration of function 'Mix_InitFluidSynth' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if ((initialized & MIX_INIT_FLUIDSYNTH) || Mix_InitFluid... ^ mixer.c:205:3: error: implicit declaration of function 'Mix_QuitFluidSynth' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Mix_QuitFluidSynth(); ^ It looks like dynamic_fluidsynth.h should have been included as well, so this patch adds that.