Browse Source

Removed some old packing pragmas from the plugin code.

tags/2021-05-28
jules 13 years ago
parent
commit
f043bb6ace
4 changed files with 1 additions and 17 deletions
  1. +0
    -2
      modules/juce_audio_plugin_client/RTAS/juce_RTAS_WinUtilities.cpp
  2. +0
    -3
      modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp
  3. +1
    -9
      modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp
  4. +0
    -3
      modules/juce_core/juce_core.h

+ 0
- 2
modules/juce_audio_plugin_client/RTAS/juce_RTAS_WinUtilities.cpp View File

@@ -43,9 +43,7 @@
#include <intrin.h>
#include <windows.h>
#pragma pack (push, 8)
#include "../utility/juce_IncludeModuleHeaders.h"
#pragma pack (pop)
//==============================================================================
void JUCE_CALLTYPE attachSubWindow (void* hostWindow,


+ 0
- 3
modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp View File

@@ -90,15 +90,12 @@
//==============================================================================
#ifdef _MSC_VER
#pragma pack (push, 8)
#pragma warning (disable: 4263 4264)
#endif
#include "../utility/juce_IncludeModuleHeaders.h"
#ifdef _MSC_VER
#pragma pack (pop)
#if JUCE_DEBUGxxx // (the debug lib in the 8.0 SDK fails to link, so we'll stick to the release one...)
#define PT_LIB_PATH JucePlugin_WinBag_path "\\Debug\\lib\\"
#else


+ 1
- 9
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp View File

@@ -62,7 +62,7 @@
Then, you'll need to make sure your include path contains your "vstsdk2.4" directory.
*/
#ifdef __GNUC__
#ifndef _MSC_VER
#define __cdecl
#endif
@@ -77,18 +77,10 @@
#endif
//==============================================================================
#ifdef _MSC_VER
#pragma pack (push, 8)
#endif
#include "../utility/juce_IncludeModuleHeaders.h"
#include "../utility/juce_FakeMouseMoveGenerator.h"
#include "../utility/juce_PluginHostType.h"
#ifdef _MSC_VER
#pragma pack (pop)
#endif
#undef MemoryBlock
class JuceVSTWrapper;


+ 0
- 3
modules/juce_core/juce_core.h View File

@@ -106,8 +106,6 @@
//=============================================================================
#if JUCE_MSVC
#pragma warning (disable: 4251) // (DLL build warning, must be disabled before pushing the warning state)
#pragma pack (push, 8) // this is set explicitly in case the app is using a different packing size.
#pragma warning (push)
#pragma warning (disable: 4786) // (long class name warning)
#ifdef __INTEL_COMPILER
@@ -416,7 +414,6 @@ namespace juce
#if JUCE_MSVC
#pragma warning (pop)
#pragma pack (pop)
#endif
#endif // __JUCE_CORE_JUCEHEADER__

Loading…
Cancel
Save