Browse Source

Quick fix for clang

tags/1.9.8
falkTX 7 years ago
parent
commit
c95d639750
5 changed files with 17 additions and 3 deletions
  1. +1
    -1
      source/backend/CarlaEngine.hpp
  2. +1
    -1
      source/backend/engine/CarlaEngineInternal.hpp
  3. +1
    -0
      source/backend/plugin/CarlaPluginJack.cpp
  4. +2
    -0
      source/libjack/libjack.hpp
  5. +12
    -1
      source/modules/water/water.h

+ 1
- 1
source/backend/CarlaEngine.hpp View File

@@ -1103,7 +1103,7 @@ protected:
friend class ScopedActionLock;
friend class ScopedEngineEnvironmentLocker;
friend class ScopedThreadStopper;
friend struct PatchbayGraph;
friend class PatchbayGraph;
friend struct RackGraph;

// -------------------------------------------------------------------


+ 1
- 1
source/backend/engine/CarlaEngineInternal.hpp View File

@@ -59,7 +59,7 @@ struct EngineInternalEvents {
// InternalGraph

struct RackGraph;
struct PatchbayGraph;
class PatchbayGraph;

class EngineInternalGraph
{


+ 1
- 0
source/backend/plugin/CarlaPluginJack.cpp View File

@@ -31,6 +31,7 @@
#include "jackbridge/JackBridge.hpp"

#include <ctime>
#include <vector>

// -------------------------------------------------------------------------------------------------------------------



+ 2
- 0
source/libjack/libjack.hpp View File

@@ -36,6 +36,8 @@
#include <jack/metadata.h>
#endif

#include <cerrno>

#ifdef __SSE2_MATH__
# include <xmmintrin.h>
#endif


+ 12
- 1
source/modules/water/water.h View File

@@ -24,6 +24,7 @@
#include "CarlaMutex.hpp"
#include <algorithm>
#include <string>
//==============================================================================
@@ -43,7 +44,17 @@
#define JUCE_ALIGN(bytes) __attribute__ ((aligned (bytes)))
#if (__cplusplus >= 201103L || defined (__GXX_EXPERIMENTAL_CXX0X__)) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 405
// FIXME
#ifdef __clang__
#define JUCE_COMPILER_SUPPORTS_NOEXCEPT 1
#define JUCE_COMPILER_SUPPORTS_NULLPTR 1
#define JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS 1
#define JUCE_COMPILER_SUPPORTS_INITIALIZER_LISTS 1
#define JUCE_COMPILER_SUPPORTS_VARIADIC_TEMPLATES 1
#define JUCE_COMPILER_SUPPORTS_OVERRIDE_AND_FINAL 1
#define JUCE_DELETED_FUNCTION = delete
#define JUCE_COMPILER_SUPPORTS_LAMBDAS 1
#elif (__cplusplus >= 201103L || defined (__GXX_EXPERIMENTAL_CXX0X__)) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 405
#define JUCE_COMPILER_SUPPORTS_NOEXCEPT 1
#define JUCE_COMPILER_SUPPORTS_NULLPTR 1
#define JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS 1


Loading…
Cancel
Save