JUCE 8.0.12 / Linux / VST Embedded interface pragma pack warnings

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.

What version on Linux and what compiler are you using?

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.

Can you trigger these warnings with any of the projects included in the JUCE repo?

Don’t worry - I’ve reproduced the issue.

It’s safe to ignore the warnings

On macOS the VST3 SDK explicitly ignores the warning

but doesn’t do the same on Linux, so clang on Linux hits the warning.

I’ll add the warning silence to our embedded VST demo project.

Thanks @t0m !