Clang warnings with -Wmissing-prototypes due to JACK

When I compile an app using Clang 10.0.0 on Ubuntu 20.04, I encounter a lot of warnings due to -Wmissing-prototypes in juce_linux_JackAudio.cpp, e.g.

../JUCE/modules/juce_audio_devices/native/juce_linux_JackAudio.cpp:56:42: warning: no previous prototype for function 'jack_client_open' [-Wmissing-prototypes]` `JUCE_DECL_JACK_FUNCTION (jack_client_t*, jack_client_open, (const char* client_name, jack_options_t options, jack_status_t* status, ...), (client_name, options, status))

This is still an issue

The warnings should also be present on macOS and Windows as it is now possible to use JACK on these operating systems. I’ve created a PR on GitHub.

Thanks, added here:

2 Likes

Awesome, thanks!