From 73326ade90e1767fa7ba090d8ab5d9ceb06f130f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 23 Aug 2021 06:43:16 +0200 Subject: [PATCH] Don't include i18n in headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The i18n header needs to be included last, since it defines `_` which results in conflicts with other headers. see #8361 and e.g. boost/function_types/detail/class_transform.hpp:23:26: error: ‘boost::mpl::placeholders::_’ has not been declared using mpl::placeholders::_; --- libs/ardour/ardour/types_convert.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/ardour/ardour/types_convert.h b/libs/ardour/ardour/types_convert.h index 3184964350..9a4192d8b9 100644 --- a/libs/ardour/ardour/types_convert.h +++ b/libs/ardour/ardour/types_convert.h @@ -25,7 +25,6 @@ #endif #include "pbd/enum_convert.h" -#include "pbd/i18n.h" #include "ardour/types.h" #include "ardour/data_type.h"