@@ -21,7 +21,7 @@ BASE_FLAGS += -I. -I../backend -I../includes -I../modules -I../utils | |||||
BASE_FLAGS += -Wcast-align -Wmissing-declarations | BASE_FLAGS += -Wcast-align -Wmissing-declarations | ||||
# BASE_FLAGS += -Wcast-qual -Wconversion -Wsign-conversion -Wundef | # BASE_FLAGS += -Wcast-qual -Wconversion -Wsign-conversion -Wundef | ||||
BASE_FLAGS += -Wformat -Wformat-security -Wredundant-decls -Wshadow -Wstrict-overflow -fstrict-overflow -Wwrite-strings | BASE_FLAGS += -Wformat -Wformat-security -Wredundant-decls -Wshadow -Wstrict-overflow -fstrict-overflow -Wwrite-strings | ||||
BASE_FLAGS += -Wpointer-arith -Wabi -Winit-self -Wuninitialized -Wunused-parameter | |||||
BASE_FLAGS += -Wpointer-arith -Wabi=2 -Winit-self -Wuninitialized -Wunused-parameter | |||||
# -Wfloat-equal | # -Wfloat-equal | ||||
LINK_FLAGS = | LINK_FLAGS = | ||||
@@ -20,15 +20,19 @@ | |||||
#include "CarlaUtils.hpp" | #include "CarlaUtils.hpp" | ||||
#ifdef CARLA_OS_LINUX | |||||
# include <sys/prctl.h> | |||||
#endif | |||||
#ifdef CARLA_OS_HAIKU | |||||
typedef __sighandler_t sig_t; | |||||
#endif | |||||
#ifndef CARLA_OS_WIN | #ifndef CARLA_OS_WIN | ||||
# include <csignal> | # include <csignal> | ||||
# include <csetjmp> | # include <csetjmp> | ||||
#endif | #endif | ||||
#ifdef CARLA_OS_LINUX | |||||
# include <sys/prctl.h> | |||||
#endif | |||||
// -------------------------------------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------------------------------------- | ||||
// process functions | // process functions | ||||
@@ -25,7 +25,7 @@ | |||||
#include <algorithm> | #include <algorithm> | ||||
#include <clocale> | #include <clocale> | ||||
#if defined(CARLA_PROPER_CPP11_SUPPORT) && ! defined(CARLA_OS_WIN) | |||||
#if defined(CARLA_PROPER_CPP11_SUPPORT) && ! defined(CARLA_OS_WIN) && ! defined(CARLA_OS_HAIKU) | |||||
# define CARLA_USE_NEWLOCALE | # define CARLA_USE_NEWLOCALE | ||||
#endif | #endif | ||||