Browse Source

Silence macOS warning regarding discovery archs (partially)

macOS prints a message out of our control, wont disable that
tags/v1.9.11
falkTX 7 years ago
parent
commit
764352a495
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      source/discovery/carla-discovery.cpp

+ 1
- 0
source/discovery/carla-discovery.cpp View File

@@ -74,6 +74,7 @@ static void print_lib_error(const char* const filename)
if (error != nullptr &&
std::strstr(error, "wrong ELF class") == nullptr &&
std::strstr(error, "Bad EXE format") == nullptr &&
std::strstr(error, "no suitable image found") == nullptr &&
std::strstr(error, "not a valid Win32 application") == nullptr)
{
DISCOVERY_OUT("error", error);


Loading…
Cancel
Save