Thanks! I’ve fixed the second warning and pushed it to develop but I couldn’t reproduce the first. I’ve looked at the line where it is but can’t see anything that’s wrong with the code there - are you sure you haven’t modified it at all?
On the first issue: I have not changed any code. Strangely sometimes the compiler warns about it, sometimes it does not (running in debug mode). The VST3 plugin does compile nevertheless. Perhaps it is just an MSVC anomaly?
I’ve test built in MSVC as well. Building with either MS compiler or the Clang one bundled within, they both build it correctly. It must be an intellisense bug for the red line we’re seeing in the text editor.
Bit strange that the Clang used in Projucer is seeing that line as an error.
Visual Studio compilation works in two stages. In the most recent version the first of these stages uses Clang to make an AST of the code which is then fed to a Microsoft compiler for the second stage. I believe this is why it is simultaneously being flagged as an error and still compiling.
For the Projucer we use Clang all the way down, so this is more of a problem.