# Xcode warnings with -Wmissing-prototypes

**URL:** <https://forum.juce.com/t/xcode-warnings-with-wmissing-prototypes/50911>\
**Category:** MacOSX and iOS\
**Created:** [April 7, 2022, 11:59am UTC](https://forum.juce.com/t/xcode-warnings-with-wmissing-prototypes/50911 "2022-04-07T11:59:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PierreGuillot](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pierreguillot/32/11653_2.png) [@PierreGuillot](https://forum.juce.com/u/PierreGuillot)\
**Post date:** [April 7, 2022, 11:59am UTC](https://forum.juce.com/t/xcode-warnings-with-wmissing-prototypes/50911/1 "2022-04-07T11:59:34Z")

</div>

Sorry, it’s me again with my annoying warnings report 😇 Here are the warnings due to `-Wmissing-prototypes` (or `GCC_WARN_ABOUT_MISSING_PROTOTYPES`). Tested on develop branch (f77b286) with Xcode 13.3 & macOS 12.3 and Xcode 13.2 & macOS 12.2:

```auto
JUCE/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp:147:23: warning: no previous prototype for function 'getNormalisedTUID' [-Wmissing-prototypes]
std::array<uint32, 4> getNormalisedTUID (const TUID& tuid) noexcept
                      ^

```

```auto
JUCE/modules/juce_audio_devices/audio_io/juce_SampleRateHelpers.cpp:28:13: warning: no previous prototype for function 'getAllSampleRates' [-Wmissing-prototypes]
const auto& getAllSampleRates()
            ^

```

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [April 26, 2022, 1:56pm UTC](https://forum.juce.com/t/xcode-warnings-with-wmissing-prototypes/50911/2 "2022-04-26T13:56:12Z")

</div>

We’ve fixed the missing prototype warnings on the juce7 branch:

> <https://github.com/juce-framework/JUCE/commit/19ddbe236801e1e46f15e8548a50091b5d606d99>
