Minor warning GCC 5.3.2 Ubuntu 16.04 LTS


#1

FYI I get the below warning from GCC when compiling any plugins on the latest develop tip.

Compiling juce_audio_plugin_client_VST2.cpp

In file included from …/…/…/…/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_VST2.cpp:25:0,
from …/…/JuceLibraryCode/juce_audio_plugin_client_VST2.cpp:9:
…/…/…/…/JUCE/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp:311:29: warning: multi-character character constant [-Wmultichar]
setUniqueID ((int) (JucePlugin_VSTUniqueID));
^
Compiling juce_audio_processors.cpp

Cheers Josh


#2

it happens also to me


#3

OK this should be fixed on the latest develop tip. You’ll need to recompile the Projucer.


#4

What do you think about adding a comment next to the auto generated hex code, showing its old “four char” corresponding ASCII value?
That would improve readability


#5

Good point. See latest develop tip for some more project re-saving git noise :confused:


#6

Yeah, that was also me suggesting the all capital “ROLI” there. And the funny thing is that I don’t even use ProJucer at all :wink: