1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

Removed some old packing pragmas from the plugin code.

This commit is contained in:
jules 2012-04-10 12:25:00 +01:00
parent ff3b616759
commit f043bb6ace
4 changed files with 1 additions and 17 deletions

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,

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

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;

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__