Errors - Compiling Gain plugin with Windows Code:Blocks under Windows 10 OS - JUCE 6.0.1

I’ve downloaded latest JUCE 6.0.1 , latest Code:blocks 20.03 and [gcc-10.2.0-
64.exe]

I’ve opened gain plugin project in Juce examples folder, I’ve chaged path to modules.

After first trying to compile I’ve got error about mutex C++ mutex in namespace std does not name a type

I’ve made this step
Project > Build option…
The default selected compiler: GNU GCC Compiler
On tab “Compiler settings / Compiler flags”, check option “Have g++ follow the C++11 ISO C++ language standard [-std=c++11]”

And now Errors looks like this

-------------- Build: Standalone Plugin | Release in GainPlugin (compiler: GNU GCC Compiler)---------------

g++.exe -Wall -Wno-strict-aliasing -Wno-strict-overflow -D__MINGW__=1 -D__MINGW_EXTENSION= -DNDEBUG=1 -DPIP_JUCE_EXAMPLES_DIRECTORY=RDpcc29mdFxqdWNlLTYuMC4xLXdpbmRvd3NcSlVDRVxleGFtcGxlcw== -DJUCER_CODEBLOCKS_WINDOWS_8F9AFD66=1 -DJUCE_APP_VERSION=1.0.0 -DJUCE_APP_VERSION_HEX=0x10000 -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=1 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=1 -DJucePlugin_Build_Unity=0 -DJUCE_DISPLAY_SPLASH_SCREEN=1 -DJUCE_USE_DARK_SPLASH_SCREEN=1 -DJUCE_PROJUCER_VERSION=0x60001 -DJUCE_MODULE_AVAILABLE_juce_audio_basics=1 -DJUCE_MODULE_AVAILABLE_juce_audio_devices=1 -DJUCE_MODULE_AVAILABLE_juce_audio_formats=1 -DJUCE_MODULE_AVAILABLE_juce_audio_plugin_client=1 -DJUCE_MODULE_AVAILABLE_juce_audio_processors=1 -DJUCE_MODULE_AVAILABLE_juce_audio_utils=1 -DJUCE_MODULE_AVAILABLE_juce_core=1 -DJUCE_MODULE_AVAILABLE_juce_data_structures=1 -DJUCE_MODULE_AVAILABLE_juce_events=1 -DJUCE_MODULE_AVAILABLE_juce_graphics=1 -DJUCE_MODULE_AVAILABLE_juce_gui_basics=1 -DJUCE_MODULE_AVAILABLE_juce_gui_extra=1 -DJUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1 -DJUCE_VST3_CAN_REPLACE_VST2=0 -DJUCE_STRICT_REFCOUNTEDPOINTER=1 -DJucePlugin_Enable_IAA=0 -DJucePlugin_Name=“GainPlugin” -DJucePlugin_Desc=“GainPlugin” -DJucePlugin_Manufacturer=“JUCE” -DJucePlugin_ManufacturerWebsite=“http://juce.com” -DJucePlugin_ManufacturerEmail="" -DJucePlugin_ManufacturerCode=0x4d616e75 -DJucePlugin_PluginCode=0x52777737 -DJucePlugin_IsSynth=0 -DJucePlugin_WantsMidiInput=0 -DJucePlugin_ProducesMidiOutput=0 -DJucePlugin_IsMidiEffect=0 -DJucePlugin_EditorRequiresKeyboardFocus=0 -DJucePlugin_Version=1.0.0 -DJucePlugin_VersionCode=0x10000 -DJucePlugin_VersionString=“1.0.0” -DJucePlugin_VSTUniqueID=JucePlugin_PluginCode -DJucePlugin_VSTCategory=kPlugCategEffect -DJucePlugin_Vst3Category=“Fx” -DJucePlugin_AUMainType=‘aufx’ -DJucePlugin_AUSubType=JucePlugin_PluginCode -DJucePlugin_AUExportPrefix=GainPluginAU -DJucePlugin_AUExportPrefixQuoted=“GainPluginAU” -DJucePlugin_AUManufacturerCode=JucePlugin_ManufacturerCode -DJucePlugin_CFBundleIdentifier=com.JUCE.GainPlugin -DJucePlugin_RTASCategory=0 -DJucePlugin_RTASManufacturerCode=JucePlugin_ManufacturerCode -DJucePlugin_RTASProductId=JucePlugin_PluginCode -DJucePlugin_RTASDisableBypass=0 -DJucePlugin_RTASDisableMultiMono=0 -DJucePlugin_AAXIdentifier=com.JUCE.GainPlugin -DJucePlugin_AAXManufacturerCode=JucePlugin_ManufacturerCode -DJucePlugin_AAXProductId=JucePlugin_PluginCode -DJucePlugin_AAXCategory=0 -DJucePlugin_AAXDisableBypass=0 -DJucePlugin_AAXDisableMultiMono=0 -DJucePlugin_IAAType=0x61757278 -DJucePlugin_IAASubType=JucePlugin_PluginCode -DJucePlugin_IAAName=“JUCE: GainPlugin” -DJucePlugin_VSTNumMidiInputs=16 -DJucePlugin_VSTNumMidiOutputs=16 -DJUCE_STANDALONE_APPLICATION=JucePlugin_Build_Standalone -m64 -O3 -std=c++14 -mstackrealign -std=gnu++98 -I. -I…\JuceLibraryCode -I…\modules -I…\codeblocks-20.03mingw-nosetup -IC:\gcc\bin -c D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp -o obj\Release\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.o
WARNING: Target ‘GainPlugin - Standalone Plugin | Release’: Unable to resolve 1 external dependency/ies:
bin\Release\GainPlugin.lib
g++.exe -L"bin\Release" -o bin\Release\GainPlugin.exe obj\Release\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.o obj\Release\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\Builds\CodeBlocksWindows\resources.res “bin/Release/GainPlugin.lib” -m64 -s -lgdi32 -luser32 -lkernel32 -lcomctl32 -lwinmm -luuid -lwsock32 -lwininet -lversion -lole32 -lws2_32 -loleaut32 -limm32 -lcomdlg32 -lshlwapi -lrpcrt4 -mwindows
In file included from c:\gcc\include\c++\11.0.0\atomic:38,
from …\modules/juce_core/system/juce_StandardHeader.h:47,
from …\modules/juce_core/juce_core.h:203,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
c:\gcc\include\c++\11.0.0\bits\c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
32 | #error This file requires compiler and library support
| ^~~~~
In file included from …\modules/juce_core/system/juce_StandardHeader.h:66,
from …\modules/juce_core/juce_core.h:203,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/system/juce_CompilerSupport.h:38:4: error: #error “JUCE requires that GCC has C++11 compatibility enabled”
38 | #error “JUCE requires that GCC has C++11 compatibility enabled”
| ^~~~~
In file included from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/juce_core.h:217:70: warning: identifier ‘noexcept’ is a keyword in C++11 [-Wc++11-compat]
217 | extern JUCE_API bool JUCE_CALLTYPE juce_isRunningUnderDebugger() noexcept;
| ^~~~~~~~
In file included from …\modules/juce_core/juce_core.h:221,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/memory/juce_Memory.h:40:97: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++11-compat]
40 | inline void deleteAndZero (Type& pointer) { delete pointer; pointer = nullptr; }
| ^~~~~~~
In file included from …\modules/juce_core/juce_core.h:222,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/maths/juce_MathsFunctions.h:94:1: warning: identifier ‘constexpr’ is a keyword in C++11 [-Wc++11-compat]
94 | constexpr Type jmax (Type a, Type b) { return a < b ? b : a; }
| ^~~~~~~~~
In file included from …\modules/juce_core/juce_core.h:243,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/memory/juce_ReferenceCountedObject.h:257:32: warning: identifier ‘decltype’ is a keyword in C++11 [-Wc++11-compat]
257 | ReferenceCountedObjectPtr (decltype (nullptr)) noexcept {}
| ^~~~~~~~
In file included from …\modules/juce_core/juce_core.h:244,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/memory/juce_ScopedPointer.h:212:46: warning: identifier ‘static_assert’ is a keyword in C++11 [-Wc++11-compat]
212 | void deleteAndZero (ScopedPointer&) { static_assert (sizeof (Type) == 12345,
| ^~~~~~~~~~~~~
: error: too many decimal points in number
…\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:71:70: note: in expansion of macro ‘JucePlugin_VersionString’
71 | const String getApplicationVersion() override { return JucePlugin_VersionString; }
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from …\modules/juce_core/system/juce_StandardHeader.h:66,
from …\modules/juce_core/juce_core.h:203,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/system/juce_CompilerSupport.h:103:34: warning: variadic templates only available with ‘-std=c++11’ or ‘-std=gnu++11’
103 | template<typename T, typename… Args>
| ^~~
…\modules/juce_core/system/juce_CompilerSupport.h:104:5: error: ‘unique_ptr’ does not name a type
104 | unique_ptr make_unique (Args&&… args)
| ^~~~~~~~~~
In file included from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/juce_core.h:217:70: error: expected initializer before ‘noexcept’
217 | extern JUCE_API bool JUCE_CALLTYPE juce_isRunningUnderDebugger() noexcept;
| ^~~~~~~~
…\modules/juce_core/juce_core.h:218:82: error: expected initializer before ‘noexcept’
218 | extern JUCE_API void JUCE_CALLTYPE logAssertion (const char* file, int line) noexcept;
| ^~~~~~~~
In file included from …\modules/juce_core/juce_core.h:221,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/memory/juce_Memory.h:28:53: error: expected initializer before ‘noexcept’
28 | inline void zeromem (void* memory, size_t numBytes) noexcept { memset (memory, 0, numBytes); }
| ^~~~~~~~
…\modules/juce_core/memory/juce_Memory.h:32:42: error: expected initializer before ‘noexcept’
32 | inline void zerostruct (Type& structure) noexcept { memset ((void*) &structure, 0, sizeof (structure)); }
| ^~~~~~~~
…\modules/juce_core/memory/juce_Memory.h: In function ‘void juce::deleteAndZero(Type&)’:
…\modules/juce_core/memory/juce_Memory.h:40:97: error: ‘nullptr’ was not declared in this scope
40 | inline void deleteAndZero (Type& pointer) { delete pointer; pointer = nullptr; }
| ^~~~~~~
…\modules/juce_core/memory/juce_Memory.h: At global scope:
…\modules/juce_core/memory/juce_Memory.h:47:71: error: expected initializer before ‘noexcept’
47 | inline Type* addBytesToPointer (Type* basePointer, IntegerType bytes) noexcept { return reinterpret_cast<Type*> (const_cast<char*> (reinterpret_cast<const char*> (basePointer)) + bytes); }
| ^~~~~~~~
In file included from …\modules/juce_core/juce_core.h:221,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/memory/juce_Memory.h:52:85: error: expected initializer before ‘noexcept’
52 | inline Type* snapPointerToAlignment (Type* basePointer, IntegerType alignmentBytes) noexcept
| ^~~~~~~~
…\modules/juce_core/memory/juce_Memory.h:61:68: error: expected initializer before ‘noexcept’
61 | inline int getAddressDifference (Type1* pointer1, Type2* pointer2) noexcept { return (int) (((const char*) pointer1) - (const char*) pointer2); }
| ^~~~~~~~
…\modules/juce_core/memory/juce_Memory.h: In function ‘Type* juce::createCopyIfNotNull(const Type*)’:
…\modules/juce_core/memory/juce_Memory.h:67:86: error: ‘nullptr’ was not declared in this scope
67 | inline Type* createCopyIfNotNull (const Type* objectToCopy) { return objectToCopy != nullptr ? new Type (*objectToCopy) : nullptr; }
| ^~~~~~~
…\modules/juce_core/memory/juce_Memory.h: At global scope:
…\modules/juce_core/memory/juce_Memory.h:72:48: error: expected initializer before ‘noexcept’
72 | inline Type readUnaligned (const void* srcPtr) noexcept
| ^~~~~~~~
…\modules/juce_core/memory/juce_Memory.h:81:55: error: expected initializer before ‘noexcept’
81 | inline void writeUnaligned (void* dstPtr, Type value) noexcept
| ^~~~~~~~
In file included from …\modules/juce_core/juce_core.h:222,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/maths/juce_MathsFunctions.h:35:7: error: expected nested-name-specifier before ‘int8’
35 | using int8 = signed char;
| ^~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:37:7: error: expected nested-name-specifier before ‘uint8’
37 | using uint8 = unsigned char;
| ^~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:39:7: error: expected nested-name-specifier before ‘int16’
39 | using int16 = signed short;
| ^~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:41:7: error: expected nested-name-specifier before ‘uint16’
41 | using uint16 = unsigned short;
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:43:7: error: expected nested-name-specifier before ‘int32’
43 | using int32 = signed int;
| ^~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:45:7: error: expected nested-name-specifier before ‘uint32’
45 | using uint32 = unsigned int;
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:54:9: error: expected nested-name-specifier before ‘int64’
54 | using int64 = long long;
| ^~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:56:9: error: expected nested-name-specifier before ‘uint64’
56 | using uint64 = unsigned long long;
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:70:9: error: expected nested-name-specifier before ‘pointer_sized_int’
70 | using pointer_sized_int = int64;
| ^~~~~~~~~~~~~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:72:9: error: expected nested-name-specifier before ‘pointer_sized_uint’
72 | using pointer_sized_uint = uint64;
| ^~~~~~~~~~~~~~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:94:1: error: ‘constexpr’ does not name a type
94 | constexpr Type jmax (Type a, Type b) { return a < b ? b : a; }
| ^~~~~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:94:1: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’
…\modules/juce_core/maths/juce_MathsFunctions.h:98:1: error: ‘constexpr’ does not name a type
98 | constexpr Type jmax (Type a, Type b, Type c) { return a < b ? (b < c ? c : b) : (a < c ? c : a); }
| ^~~~~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:98:1: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’
…\modules/juce_core/maths/juce_MathsFunctions.h:102:1: error: ‘constexpr’ does not name a type
102 | constexpr Type jmax (Type a, Type b, Type c, Type d) { return jmax (a, jmax (b, c, d)); }
| ^~~~~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:102:1: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’
…\modules/juce_core/maths/juce_MathsFunctions.h:106:1: error: ‘constexpr’ does not name a type
106 | constexpr Type jmin (Type a, Type b) { return b < a ? b : a; }
| ^~~~~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:106:1: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’
…\modules/juce_core/maths/juce_MathsFunctions.h:110:1: error: ‘constexpr’ does not name a type
110 | constexpr Type jmin (Type a, Type b, Type c) { return b < a ? (c < b ? c : b) : (c < a ? c : a); }
| ^~~~~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:110:1: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’
…\modules/juce_core/maths/juce_MathsFunctions.h:114:1: error: ‘constexpr’ does not name a type
114 | constexpr Type jmin (Type a, Type b, Type c, Type d) { return jmin (a, jmin (b, c, d)); }
| ^~~~~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:114:1: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’
…\modules/juce_core/maths/juce_MathsFunctions.h:120:1: error: ‘constexpr’ does not name a type
120 | constexpr Type jmap (Type value0To1, Type targetRangeMin, Type targetRangeMax)
| ^~~~~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:120:1: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’
In file included from …\modules/juce_core/juce_core.h:222,
from …\modules/juce_graphics/juce_graphics.h:57,
from …\modules/juce_gui_basics/juce_gui_basics.h:56,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client.h:53,
from …\modules/juce_audio_plugin_client/Standalone/…/utility/juce_IncludeModuleHeaders.h:26,
from …\modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:30,
from …\modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp:32,
from D:\soft\juce-6.0.1-windows\JUCE\gainplugin\GainPlugin\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp:8:
…\modules/juce_core/maths/juce_MathsFunctions.h: In function ‘Type juce::mapToLog10(Type, Type, Type)’:
…\modules/juce_core/maths/juce_MathsFunctions.h:149:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++11-compat]
149 | auto logMin = std::log10 (logRangeMin);
| ^~~~
| ----
…\modules/juce_core/maths/juce_MathsFunctions.h:149:10: error: ‘logMin’ does not name a type
149 | auto logMin = std::log10 (logRangeMin);
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:150:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++11-compat]
150 | auto logMax = std::log10 (logRangeMax);
| ^~~~
| ----
…\modules/juce_core/maths/juce_MathsFunctions.h:150:10: error: ‘logMax’ does not name a type
150 | auto logMax = std::log10 (logRangeMax);
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:152:48: error: ‘logMax’ was not declared in this scope
152 | return std::pow ((Type) 10.0, value0To1 * (logMax - logMin) + logMin);
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:152:57: error: ‘logMin’ was not declared in this scope
152 | return std::pow ((Type) 10.0, value0To1 * (logMax - logMin) + logMin);
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h: In function ‘Type juce::mapFromLog10(Type, Type, Type)’:
…\modules/juce_core/maths/juce_MathsFunctions.h:171:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++11-compat]
171 | auto logMin = std::log10 (logRangeMin);
| ^~~~
| ----
…\modules/juce_core/maths/juce_MathsFunctions.h:171:10: error: ‘logMin’ does not name a type
171 | auto logMin = std::log10 (logRangeMin);
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:172:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++11-compat]
172 | auto logMax = std::log10 (logRangeMax);
| ^~~~
| ----
…\modules/juce_core/maths/juce_MathsFunctions.h:172:10: error: ‘logMax’ does not name a type
172 | auto logMax = std::log10 (logRangeMax);
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:174:44: error: ‘logMin’ was not declared in this scope
174 | return (std::log10 (valueInLogRange) - logMin) / (logMax - logMin);
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:174:55: error: ‘logMax’ was not declared in this scope
174 | return (std::log10 (valueInLogRange) - logMin) / (logMax - logMin);
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h: In function ‘Type juce::findMinimum(const Type*, int)’:
…\modules/juce_core/maths/juce_MathsFunctions.h:184:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++11-compat]
184 | auto result = *data++;
| ^~~~
| ----
…\modules/juce_core/maths/juce_MathsFunctions.h:184:10: error: ‘result’ does not name a type
184 | auto result = *data++;
| ^~~~~~
…\modules/juce_core/maths/juce_MathsFunctions.h:188:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++11-compat]
188 | auto v = *data++;
| ^~~~
| ----
…\modules/juce_core/maths/juce_MathsFunctions.h:188:14: error: ‘v’ does not name a type
188 | auto v = *data++;
| ^
…\modules/juce_core/maths/juce_MathsFunctions.h:190:13: error: ‘v’ was not declared in this scope
190 | if (v < result)
| ^
…\modules/juce_core/maths/juce_MathsFunctions.h:190:17: error: ‘result’ was not declared in this scope

What is wrong, and how to compile gain plugin under Windows with Code:blocks? Is it possible?

Help needed. Please. Thank you.

I’ve instal VS.