Browse Source

Fix build

tags/1.9.4
falkTX 10 years ago
parent
commit
3eb914b4c8
2 changed files with 7 additions and 2 deletions
  1. +1
    -1
      source/backend/plugin/BridgePlugin.cpp
  2. +6
    -1
      source/utils/CarlaPipeUtils.hpp

+ 1
- 1
source/backend/plugin/BridgePlugin.cpp View File

@@ -153,7 +153,7 @@ struct BridgeControl : public RingBufferControl<StackRingBuffer> {
shm_t shm;

BridgeControl()
: RingBufferControl(nullptr),
: RingBufferControl<StackRingBuffer>(nullptr),
data(nullptr)
{
carla_shm_init(shm);


+ 6
- 1
source/utils/CarlaPipeUtils.hpp View File

@@ -556,7 +556,12 @@ private:
switch (ret)
{
case 0: /* child process */
execlp(argv[0], argv[0], argv[1], argv[2], argv[3], argv[4], nullptr);
execlp(argv[0], argv[0], argv[1], argv[2], argv[3], argv[4],
#ifdef CARLA_OS_MAC // fix warning
NULL);
#else
nullptr);
#endif
carla_stderr2("exec failed: %s", std::strerror(errno));
_exit(0);
return false;


Loading…
Cancel
Save