Browse Source

Fix missing symbols

Signed-off-by: falkTX <falktx@falktx.com>
fix-audiofile-buffering
falkTX 1 year ago
parent
commit
d9c144bc4e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 5 additions and 9 deletions
  1. +3
    -8
      cmake/CMakeLists.txt
  2. +1
    -0
      source/plugin/carla-host-plugin.cpp
  3. +1
    -1
      source/plugin/carla-native-plugin.cpp

+ 3
- 8
cmake/CMakeLists.txt View File

@@ -719,8 +719,7 @@ target_compile_options(carla-bridge-native
PRIVATE
$<$<C_COMPILER_ID:GNU>:-Wno-format-truncation>
$<$<C_COMPILER_ID:GNU>:-Wno-stringop-overflow>
$<$<C_COMPILER_ID:GNU>:-Wno-unused-parameter>
$<$<STREQUAL:${CMAKE_C_COMPILER_FRONTEND_VARIANT},GNU>:-Wno-unused-but-set-variable>
$<$<C_COMPILER_ID:GNU>:-Wno-unused-but-set-variable>
$<$<STREQUAL:${CMAKE_C_COMPILER_FRONTEND_VARIANT},GNU>:-Wno-unused-parameter>
)

@@ -862,10 +861,6 @@ target_compile_definitions(carla-native-plugin
# FIXME
# target_compile_options(carla-native-plugin
# PRIVATE
# $<$<C_COMPILER_ID:AppleClang>:-Wno-unused-but-set-variable>
# $<$<C_COMPILER_ID:GNU>:-Wno-format-truncation>
# $<$<C_COMPILER_ID:GNU>:-Wno-stringop-overflow>
# $<$<C_COMPILER_ID:GNU>:-Wno-error=cpp>
# $<$<STREQUAL:${CMAKE_C_COMPILER_FRONTEND_VARIANT},GNU>:-Wno-unused-parameter>
# )

@@ -1029,10 +1024,10 @@ target_compile_definitions(carla-standalone
# FIXME
target_compile_options(carla-standalone
PRIVATE
$<$<C_COMPILER_ID:GNU>:-Wno-error=cpp>
$<$<C_COMPILER_ID:GNU>:-Wno-format-truncation>
$<$<C_COMPILER_ID:GNU>:-Wno-stringop-overflow>
$<$<C_COMPILER_ID:GNU>:-Wno-error=cpp>
$<$<STREQUAL:${CMAKE_C_COMPILER_FRONTEND_VARIANT},GNU>:-Wno-unused-but-set-variable>
$<$<C_COMPILER_ID:GNU>:-Wno-unused-but-set-variable>
$<$<STREQUAL:${CMAKE_C_COMPILER_FRONTEND_VARIANT},GNU>:-Wno-unused-parameter>
)



+ 1
- 0
source/plugin/carla-host-plugin.cpp View File

@@ -18,6 +18,7 @@
#include "CarlaNativePlugin.h"

#define CARLA_PLUGIN_BUILD
#define CARLA_HOST_PLUGIN_BUILD

#include "carla-native-plugin.cpp"



+ 1
- 1
source/plugin/carla-native-plugin.cpp View File

@@ -26,7 +26,7 @@
// --------------------------------------------------------------------------------------------------------------------
// Expose info functions as needed

#ifndef CARLA_PLUGIN_BUILD
#ifndef CARLA_HOST_PLUGIN_BUILD
# include "utils/Information.cpp"
#endif



Loading…
Cancel
Save