1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Fix DLL build

There were a few "ambiguous operator new/delete" errors that were due to
inheriting from a private base class that used the leak detector. These
errors are resolved by adding the leak detector to the derived classes.

JUCE_API was missing from a few useful types, notably the ARA hosting
types.
This commit is contained in:
reuk 2024-10-22 13:24:43 +01:00
parent 6f20de5434
commit 90f37e27ea
14 changed files with 28 additions and 17 deletions

View file

@ -45,6 +45,8 @@ template <typename Type>
class AudioBuffer
{
public:
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4661)
//==============================================================================
/** Creates an empty buffer with 0 channels and 0 length. */
AudioBuffer() noexcept

View file

@ -63,7 +63,7 @@ class ScopedNoDenormals;
@tags{Audio}
*/
template <typename FloatType, typename CountType>
struct FloatVectorOperationsBase
struct JUCE_API FloatVectorOperationsBase
{
/** Clears a vector of floating point numbers. */
static void JUCE_CALLTYPE clear (FloatType* dest, CountType numValues) noexcept;