# Warnings in Windows 2013 build

**URL:** <https://forum.juce.com/t/warnings-in-windows-2013-build/16311>\
**Category:** General JUCE discussion\
**Created:** [January 5, 2016, 12:46am UTC](https://forum.juce.com/t/warnings-in-windows-2013-build/16311 "2016-01-05T00:46:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RolandMR](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rolandmr/32/641_2.png) [@RolandMR](https://forum.juce.com/u/RolandMR)\
**Post date:** [January 5, 2016, 12:46am UTC](https://forum.juce.com/t/warnings-in-windows-2013-build/16311/1 "2016-01-05T00:46:43Z")

</div>

I'm seeing the following warnings:

```
1\>c:\dev.github\juce\modules\juce\_audio\_processors\format\_types\juce\_vstpluginformat.cpp(1942): warning C4996: 'juce::AudioProcessor::getInputChannelName': was declared deprecated (..\..\..\..\juce\modules\juce\_audio\_processors\juce\_audio\_processors.cpp)1> c:\dev.github\juce\modules\juce_audio_processors\processors\juce_audioprocessor.h(927) : see declaration of 'juce::AudioProcessor::getInputChannelName'
1>c:\dev.github\juce\modules\juce_audio_processors\format_types\juce_vstpluginformat.cpp(1942): warning C4996: 'juce::AudioProcessor::isInputChannelStereoPair': was declared deprecated (..\..\..\..\juce\modules\juce_audio_processors\juce_audio_processors.cpp)
1> c:\dev.github\juce\modules\juce_audio_processors\processors\juce_audioprocessor.h(935) : see declaration of 'juce::AudioProcessor::isInputChannelStereoPair'
1>c:\dev.github\juce\modules\juce_audio_processors\format_types\juce_vstpluginformat.cpp(1942): warning C4996: 'juce::AudioProcessor::getOutputChannelName': was declared deprecated (..\..\..\..\juce\modules\juce_audio_processors\juce_audio_processors.cpp)
1> c:\dev.github\juce\modules\juce_audio_processors\processors\juce_audioprocessor.h(928) : see declaration of 'juce::AudioProcessor::getOutputChannelName'
1>c:\dev.github\juce\modules\juce_audio_processors\format_types\juce_vstpluginformat.cpp(1942): warning C4996: 'juce::AudioProcessor::isOutput
ChannelStereoPair': was declared deprecated (..\..\..\..\juce\modules\juce_audio_processors\juce_audio_processors.cpp)
1> c:\dev.github\juce\modules\juce_audio_processors\processors\juce_audioprocessor.h(936) : see declaration of 'juce::AudioProcessor::isOutputChannelStereoPair'
```

```
1>c:\dev.github\juce\modules\juce_audio_processors\format_types\juce_vst3pluginformat.cpp(2452): warning C4996: 'juce::AudioProcessor::getInputChannelName': was declared deprecated (..\..\..\..\juce\modules\juce_audio_processors\juce_audio_processors.cpp)
1> c:\dev.github\juce\modules\juce_audio_processors\processors\juce_audioprocessor.h(927) : see declaration of 'juce::AudioProcessor::getInputChannelName'
1>c:\dev.github\juce\modules\juce_audio_processors\format_types\juce_vst3pluginformat.cpp(2452): warning C4996: 'juce::AudioProcessor::getOutputChannelName': was declared deprecated (..\..\..\..\juce\modules\juce_audio_processors\juce_audio_processors.cpp)
1> c:\dev.github\juce\modules\juce_audio_processors\processors\juce_audioprocessor.h(928) : see declaration of 'juce::AudioProcessor::getOutputChannelName'
1>c:\dev.github\juce\modules\juce_audio_processors\format_types\juce_vst3pluginformat.cpp(2452): warning C4996: 'juce::AudioProcessor::isInputChannelStereoPair': was declared deprecated (..\..\..\..\juce\modules\juce_audio_processors\juce_audio_processors.cpp)
1> c:\dev.github\juce\modules\juce_audio_processors\processors\juce_audioprocessor.h(935) : see declaration of 'juce::AudioProcessor::isInputChannelStereoPair'
1>c:\dev.github\juce\modules\juce_audio_processors\format_types\juce_vst3pluginformat.cpp(2452): warning C4996: 'juce::AudioProcessor::isOutputChannelStereoPair': was declared deprecated (..\..\..\..\juce\modules\juce_audio_processors\juce_audio_processors.cpp)
1> c:\dev.github\juce\modules\juce_audio_processors\processors\juce_audioprocessor.h(936) : see declaration of 'juce::AudioProcessor::isOutputChannelStereoPair'
```

Is there any way to shut these up? Or can the functions be deleted, they aren't used anymore, are they?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [January 5, 2016, 4:22pm UTC](https://forum.juce.com/t/warnings-in-windows-2013-build/16311/2 "2016-01-05T16:22:09Z")

</div>

Yeah, thanks - I'll do something about those..

---

<div class="post-metadata">

**Author:** ![Nathaniel\_Perez](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/nathaniel_perez/32/1009_2.png) [@Nathaniel\_Perez](https://forum.juce.com/u/Nathaniel_Perez)\
**Post date:** [February 3, 2016, 9:55am UTC](https://forum.juce.com/t/warnings-in-windows-2013-build/16311/3 "2016-02-03T09:55:04Z")

</div>

Hi,

I am getting those exactly same warnings by compiling plugin host example...

What can I do about it?

Thanks for help

&nbsp;

Nathaniel

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [February 3, 2016, 10:59am UTC](https://forum.juce.com/t/warnings-in-windows-2013-build/16311/4 "2016-02-03T10:59:29Z")

</div>

Don't worry about them. It's just some temporary deprecated functions, it'll go away when we move the plugin hosting code to use our new bus arrangements, but the warnings won't affect your code in any way.

---

<div class="post-metadata">

**Author:** ![KoenTanghe](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/koentanghe/32/533_2.png) [@KoenTanghe](https://forum.juce.com/u/KoenTanghe)\
**Post date:** [May 12, 2016, 1:29pm UTC](https://forum.juce.com/t/warnings-in-windows-2013-build/16311/5 "2016-05-12T13:29:46Z")

</div>

Sorry to pick up this thread, but: I’m in the process of moving an older plugin over to 4.2.x and also saw these deprecation warnings for these functions (which are still in my code), using VS2015:

```
const String getInputChannelName (int channelIndex) const;
const String getOutputChannelName (int channelIndex) const;
bool isInputChannelStereoPair (int index) const;
bool isOutputChannelStereoPair (int index) const;
bool silenceInProducesSilenceOut(void) const;

```

I was using these (just a number string for the channel names, marking input and output as stereo, and silence in producing silence out set to false), so I’m wondering: if these are deprecated now:

- can/should I just delete these functions?
- what are they replaced with? will I still get the same behavior automatically?

---

<div class="post-metadata">

**Author:** ![KoenTanghe](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/koentanghe/32/533_2.png) [@KoenTanghe](https://forum.juce.com/u/KoenTanghe)\
**Post date:** [August 25, 2016, 3:56pm UTC](https://forum.juce.com/t/warnings-in-windows-2013-build/16311/6 "2016-08-25T15:56:20Z")

</div>

@fabian or @jules What’s the current state with these deprecated functions?

I’m on the develop branch (last commit date July 7, SHA-1: 3ff5ed0f44a2456c28793fb2ec700034c3ab5e74) because I needed a fix for this issue: [4.1. setPreferredBusArrangement() mono-stereo or same Ins/Outs](https://forum.juce.com/t/4-1-setpreferredbusarrangement-mono-stereo-or-same-ins-outs/16402/46)

So, my questions still hold:  
I was using these (just a number string for the channel names, marking input and output as stereo, and silence in producing silence out set to false), so I’m wondering: if these are deprecated now:

- can/should I just delete these functions?
- what are they replaced with? will I still get the same behavior automatically?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [August 25, 2016, 4:31pm UTC](https://forum.juce.com/t/warnings-in-windows-2013-build/16311/7 "2016-08-25T16:31:06Z")

</div>

This is a question for Fabian - he should be back next week and will catch up on multichannel issues…
