From 5193052d8ad79890b671eb92736bb1d0da6be307 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 6 Aug 2020 21:38:00 +0200 Subject: [PATCH] Fix OSX builds (i18n) i18n must be included last, after all template specialization. Otherwise the following happens: In file included from ../libs/pbd/pbd/i18n.h:22: ../libs/pbd/pbd/compose.h:122:6: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup --- libs/ardour/session.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index f67aa62a59..dc14cb4259 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -50,7 +50,6 @@ #include "pbd/convert.h" #include "pbd/error.h" #include "pbd/file_utils.h" -#include "pbd/i18n.h" #include "pbd/md5.h" #include "pbd/pthread_utils.h" #include "pbd/search_path.h" @@ -134,6 +133,8 @@ #include +#include "pbd/i18n.h" + namespace ARDOUR { class MidiSource; class Processor;