mathben

xdress/clang gcc compilation error dev

Dec 23rd, 2015
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.33 KB | None | 0 0
  1. building 'xdress.clang.libclang' extension
  2. creating build/temp.linux-x86_64-3.5
  3. creating build/temp.linux-x86_64-3.5/home
  4. creating build/temp.linux-x86_64-3.5/home/mathben
  5. creating build/temp.linux-x86_64-3.5/home/mathben/git
  6. creating build/temp.linux-x86_64-3.5/home/mathben/git/xdress
  7. creating build/temp.linux-x86_64-3.5/home/mathben/git/xdress/xdress
  8. creating build/temp.linux-x86_64-3.5/home/mathben/git/xdress/xdress/clang
  9. creating build/temp.linux-x86_64-3.5/home/mathben/git/xdress/xdress/clang/src
  10. gcc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DXDRESS=1 -I/home/mathben/git/xdress/xdress/clang -I/usr/include/python3.5m -c /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp -o build/temp.linux-x86_64-3.5/home/mathben/git/xdress/xdress/clang/src/CXCursor.o -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -std=c++11
  11. cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  12. In file included from /home/mathben/git/xdress/xdress/clang/src/CXTranslationUnit.h:18:0,
  13. from /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:17:
  14. /home/mathben/git/xdress/xdress/clang/src/CXString.h:66:40: error: expected initializer before ‘LLVM_DELETED_FUNCTION’
  15. CXString createRef(std::string String) LLVM_DELETED_FUNCTION;
  16. ^
  17. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp: In function ‘CXCursor clang::cxcursor::MakeCXCursor(const clang::Stmt*, const clang::Decl*, CXTranslationUnit, clang::SourceRange)’:
  18. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘CXXFoldExprClass’ not handled in switch [-Wswitch]
  19. switch (S->getStmtClass()) {
  20. ^
  21. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘DesignatedInitUpdateExprClass’ not handled in switch [-Wswitch]
  22. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘NoInitExprClass’ not handled in switch [-Wswitch]
  23. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘TypoExprClass’ not handled in switch [-Wswitch]
  24. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPAtomicDirectiveClass’ not handled in switch [-Wswitch]
  25. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPBarrierDirectiveClass’ not handled in switch [-Wswitch]
  26. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPCancelDirectiveClass’ not handled in switch [-Wswitch]
  27. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPCancellationPointDirectiveClass’ not handled in switch [-Wswitch]
  28. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPCriticalDirectiveClass’ not handled in switch [-Wswitch]
  29. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPFlushDirectiveClass’ not handled in switch [-Wswitch]
  30. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPForDirectiveClass’ not handled in switch [-Wswitch]
  31. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPForSimdDirectiveClass’ not handled in switch [-Wswitch]
  32. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPParallelForDirectiveClass’ not handled in switch [-Wswitch]
  33. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPParallelForSimdDirectiveClass’ not handled in switch [-Wswitch]
  34. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPSimdDirectiveClass’ not handled in switch [-Wswitch]
  35. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘firstOMPLoopDirectiveConstant’ not handled in switch [-Wswitch]
  36. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘lastOMPLoopDirectiveConstant’ not handled in switch [-Wswitch]
  37. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPMasterDirectiveClass’ not handled in switch [-Wswitch]
  38. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPOrderedDirectiveClass’ not handled in switch [-Wswitch]
  39. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPParallelSectionsDirectiveClass’ not handled in switch [-Wswitch]
  40. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPSectionDirectiveClass’ not handled in switch [-Wswitch]
  41. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPSectionsDirectiveClass’ not handled in switch [-Wswitch]
  42. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPSingleDirectiveClass’ not handled in switch [-Wswitch]
  43. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPTargetDirectiveClass’ not handled in switch [-Wswitch]
  44. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPTaskDirectiveClass’ not handled in switch [-Wswitch]
  45. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPTaskgroupDirectiveClass’ not handled in switch [-Wswitch]
  46. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPTaskwaitDirectiveClass’ not handled in switch [-Wswitch]
  47. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPTaskyieldDirectiveClass’ not handled in switch [-Wswitch]
  48. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘OMPTeamsDirectiveClass’ not handled in switch [-Wswitch]
  49. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘firstOMPExecutableDirectiveConstant’ not handled in switch [-Wswitch]
  50. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘lastOMPExecutableDirectiveConstant’ not handled in switch [-Wswitch]
  51. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:101:10: warning: enumeration value ‘SEHLeaveStmtClass’ not handled in switch [-Wswitch]
  52. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp: In member function ‘const clang::IdentifierInfo* clang::cxcursor::MacroExpansionCursor::getName() const’:
  53. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:754:34: error: invalid use of incomplete type ‘const class clang::MacroDefinition’
  54. return getAsMacroDefinition()->getName();
  55. ^
  56. In file included from /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:18:0:
  57. /home/mathben/git/xdress/xdress/clang/src/CXCursor.h:33:7: note: forward declaration of ‘class clang::MacroDefinition’
  58. class MacroDefinition;
  59. ^
  60. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp: In member function ‘const clang::MacroDefinition* clang::cxcursor::MacroExpansionCursor::getDefinition() const’:
  61. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:760:47: error: cannot convert ‘clang::MacroDefinitionRecord*’ to ‘const clang::MacroDefinition*’ in return
  62. return getAsMacroExpansion()->getDefinition();
  63. ^
  64. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp: In function ‘void* clang_getCursorCompletionString(CXCursor)’:
  65. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:1256:38: error: no matching function for call to ‘clang::CodeCompletionResult::CreateCodeCompletionString(clang::ASTContext&, clang::Preprocessor&, clang::CodeCompletionAllocator&, clang::CodeCompletionTUInfo&, bool)’
  66. true);
  67. ^
  68. In file included from /usr/include/clang/Frontend/ASTUnit.h:27:0,
  69. from /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:30:
  70. /usr/include/clang/Sema/CodeCompleteConsumer.h:767:25: note: candidate: clang::CodeCompletionString* clang::CodeCompletionResult::CreateCodeCompletionString(clang::Sema&, const clang::CodeCompletionContext&, clang::CodeCompletionAllocator&, clang::CodeCompletionTUInfo&, bool)
  71. CodeCompletionString *CreateCodeCompletionString(Sema &S,
  72. ^
  73. /usr/include/clang/Sema/CodeCompleteConsumer.h:767:25: note: no known conversion for argument 1 from ‘clang::ASTContext’ to ‘clang::Sema&’
  74. /usr/include/clang/Sema/CodeCompleteConsumer.h:772:25: note: candidate: clang::CodeCompletionString* clang::CodeCompletionResult::CreateCodeCompletionString(clang::ASTContext&, clang::Preprocessor&, const clang::CodeCompletionContext&, clang::CodeCompletionAllocator&, clang::CodeCompletionTUInfo&, bool)
  75. CodeCompletionString *CreateCodeCompletionString(ASTContext &Ctx,
  76. ^
  77. /usr/include/clang/Sema/CodeCompleteConsumer.h:772:25: note: candidate expects 6 arguments, 5 provided
  78. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:1262:49: error: invalid use of incomplete type ‘const class clang::MacroDefinition’
  79. const IdentifierInfo *MacroInfo = definition->getName();
  80. ^
  81. In file included from /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:18:0:
  82. /home/mathben/git/xdress/xdress/clang/src/CXCursor.h:33:7: note: forward declaration of ‘class clang::MacroDefinition’
  83. class MacroDefinition;
  84. ^
  85. /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:1270:39: error: no matching function for call to ‘clang::CodeCompletionResult::CreateCodeCompletionString(clang::ASTContext&, clang::Preprocessor&, clang::CodeCompletionAllocator&, clang::CodeCompletionTUInfo&, bool)’
  86. false);
  87. ^
  88. In file included from /usr/include/clang/Frontend/ASTUnit.h:27:0,
  89. from /home/mathben/git/xdress/xdress/clang/src/CXCursor.cpp:30:
  90. /usr/include/clang/Sema/CodeCompleteConsumer.h:767:25: note: candidate: clang::CodeCompletionString* clang::CodeCompletionResult::CreateCodeCompletionString(clang::Sema&, const clang::CodeCompletionContext&, clang::CodeCompletionAllocator&, clang::CodeCompletionTUInfo&, bool)
  91. CodeCompletionString *CreateCodeCompletionString(Sema &S,
  92. ^
  93. /usr/include/clang/Sema/CodeCompleteConsumer.h:767:25: note: no known conversion for argument 1 from ‘clang::ASTContext’ to ‘clang::Sema&’
  94. /usr/include/clang/Sema/CodeCompleteConsumer.h:772:25: note: candidate: clang::CodeCompletionString* clang::CodeCompletionResult::CreateCodeCompletionString(clang::ASTContext&, clang::Preprocessor&, const clang::CodeCompletionContext&, clang::CodeCompletionAllocator&, clang::CodeCompletionTUInfo&, bool)
  95. CodeCompletionString *CreateCodeCompletionString(ASTContext &Ctx,
  96. ^
  97. /usr/include/clang/Sema/CodeCompleteConsumer.h:772:25: note: candidate expects 6 arguments, 5 provided
  98. error: command 'gcc' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment