mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Add Wpedantic as a recommended warning flag
This commit is contained in:
parent
1d39710144
commit
0e9fb915fa
5 changed files with 18 additions and 10 deletions
|
|
@ -35,7 +35,8 @@ JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wnon-virtual-dtor",
|
|||
"-Wshift-sign-overflow",
|
||||
"-Wpragma-pack",
|
||||
"-Wzero-as-null-pointer-constant",
|
||||
"-Winconsistent-missing-destructor-override")
|
||||
"-Winconsistent-missing-destructor-override",
|
||||
"-Wfour-char-constants")
|
||||
|
||||
#include <AAX_Version.h>
|
||||
|
||||
|
|
@ -72,6 +73,8 @@ static_assert (AAX_SDK_CURRENT_REVISION >= AAX_SDK_2p3p0_REVISION, "JUCE require
|
|||
JUCE_END_IGNORE_WARNINGS_MSVC
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wfour-char-constants")
|
||||
|
||||
#if JUCE_WINDOWS
|
||||
#ifndef JucePlugin_AAXLibs_path
|
||||
#error "You need to define the JucePlugin_AAXLibs_path macro. (This is best done via the Projucer)"
|
||||
|
|
@ -2344,6 +2347,8 @@ AAX_Result JUCE_CDECL GetEffectDescriptions (AAX_ICollection* collection)
|
|||
return AAX_ERROR_NULL_OBJECT;
|
||||
}
|
||||
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
|
||||
//==============================================================================
|
||||
#if _MSC_VER || JUCE_MINGW
|
||||
extern "C" BOOL WINAPI DllMain (HINSTANCE instance, DWORD reason, LPVOID) { if (reason == DLL_PROCESS_ATTACH) Process::setCurrentModuleInstanceHandle (instance); return true; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue