mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Fix --no-nls, i18n include order in libs -- #8361
Ardour's "pbd/i18n.h" needs to be included last, after any include that may indirectly pull in getext or libintl. For that reason "pbd/i18n.h" must not be used in header files either.
This commit is contained in:
parent
af254b8ff9
commit
fcd347fe0c
14 changed files with 31 additions and 21 deletions
|
|
@ -41,7 +41,6 @@
|
|||
#include "pbd/error.h"
|
||||
#include "pbd/failed_constructor.h"
|
||||
#include "pbd/file_utils.h"
|
||||
#include "pbd/i18n.h"
|
||||
#include "pbd/strsplit.h"
|
||||
#include "pbd/types_convert.h"
|
||||
#include "pbd/xml++.h"
|
||||
|
|
@ -66,6 +65,8 @@
|
|||
|
||||
#include "pbd/abstract_ui.cc" // instantiate template
|
||||
|
||||
#include "pbd/i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace PBD;
|
||||
using namespace Glib;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue