fix clang compilation (include header ordering)

"i18n.h" needs to be included last, after types have been defined or
clang bails out:
"call to function 'operator<<' is not visible in the template definition"
This commit is contained in:
Robin Gareus 2017-09-21 19:38:13 +02:00
parent 87f5cd30d1
commit 4e5423b348
3 changed files with 6 additions and 4 deletions

View file

@ -19,7 +19,6 @@
#include "pbd/debug.h"
#include "pbd/error.h"
#include "pbd/i18n.h"
#include "ardour/audioplaylist.h"
#include "ardour/butler.h"
@ -36,6 +35,8 @@
#include "ardour/session.h"
#include "ardour/session_playlists.h"
#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace std;

View file

@ -18,7 +18,6 @@
*/
#include "pbd/enumwriter.h"
#include "pbd/i18n.h"
#include "pbd/memento_command.h"
#include "ardour/audioengine.h"
@ -36,6 +35,8 @@
#include "ardour/session.h"
#include "ardour/session_playlists.h"
#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace std;

View file

@ -17,8 +17,6 @@
*/
#include "pbd/i18n.h"
#include "ardour/analyser.h"
#include "ardour/audioengine.h"
#include "ardour/audiofilesource.h"
@ -36,6 +34,8 @@
#include "ardour/session.h"
#include "ardour/smf_source.h"
#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace std;