I’m getting (new) warnings with JUCE 8.0.12 / Linux / VST embedded interfaces; these warnings didn’t occur with JUCE 8.0.11 and before:
In file included from ../../../../SDKs/JUCE/modules/juce_audio_processors_headless/format_types/VST3_SDK/pluginterfaces/vst/ivsthostapplication.h:19:
In file included from ../../../../SDKs/JUCE/modules/juce_audio_processors_headless/format_types/VST3_SDK/pluginterfaces/vst/ivstmessage.h:19:
../../../../SDKs/JUCE/modules/juce_audio_processors_headless/format_types/VST3_SDK/pluginterfaces/vst/ivstattributes.h:155:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack] #include “pluginterfaces/base/falignpop.h”
This is just one example; I’m seeing a bunch more related to the combination of the VST3SDK and the new JUCE headless classes…. Is anyone else seeing this, and what is the recommended solution?
Quick follow up: as far as I can tell, these warnings seem harmless; I’ve silenced them with a “-Wpragma-pack” compiler flag when including the VST embedded interface files for Linux.
I’m using Ubuntu 20.04.2 LTS (Intel) and clang++ 10.0.0 as compiler. The same warnings occur on Ubuntu 25.04 on Arm with clang++. I tried gcc as well but it seems the Projucer doesn’t build with gcc on Ubuntu 20.04.2.