[PATCH] Fixed compilation error of Clang plugins on Ubuntu/Mint

Marc-André Laverdière (via_Code_Review) gerrit at gerrit.libreoffice.org
Fri Feb 8 06:59:33 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2045

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/45/2045/1

Fixed compilation error of Clang plugins on Ubuntu/Mint

Change-Id: Ib08c5075034e0e16c5541f05425ef15d2cc3a6f6
---
M compilerplugins/clang/plugin.hxx
1 file changed, 2 insertions(+), 0 deletions(-)



diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx
index 92ff6f3..d30c37a 100644
--- a/compilerplugins/clang/plugin.hxx
+++ b/compilerplugins/clang/plugin.hxx
@@ -15,6 +15,8 @@
 
 #include <clang/AST/ASTContext.h>
 #include <clang/AST/RecursiveASTVisitor.h>
+#include <clang/Basic/FileManager.h>
+#include <clang/Basic/SourceManager.h>
 
 #if __clang_major__ < 3 || __clang_major__ == 3 && __clang_minor__ < 2
 #include <clang/Rewrite/Rewriter.h>

-- 
To view, visit https://gerrit.libreoffice.org/2045
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib08c5075034e0e16c5541f05425ef15d2cc3a6f6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Marc-André Laverdière <marc-andre at atc.tcs.com>


More information about the LibreOffice mailing list