In C++11 you are not allowed to have non-literal specifiers right
after a string literal.
---
 src/support/Messages.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/support/Messages.cpp b/src/support/Messages.cpp
index ca5c110..fdcaf66 100644
--- a/src/support/Messages.cpp
+++ b/src/support/Messages.cpp
@@ -119,7 +119,7 @@ bool Messages::available(string const & c)
        // this loops at most twice
        while (true) {
                string const filen = locale_dir + "/" + code 
-                       + "/LC_MESSAGES/"PACKAGE".mo";
+                       + "/LC_MESSAGES/" PACKAGE ".mo";
                if (FileName(filen).isReadableFile())
                        return true;
                if (contains(code, '_'))
-- 
1.8.0

Reply via email to