Skip to content

Instantly share code, notes, and snippets.

@jamescasbon
Created January 12, 2014 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamescasbon/8383403 to your computer and use it in GitHub Desktop.
Save jamescasbon/8383403 to your computer and use it in GitHub Desktop.
(xdress)~/S/xdress git:clang ❯❯❯ python setup.py build ⬆
XXXXXXX XXXXXXXDDDDDDDDDDDDD
X:::::X X:::::XD::::::::::::DDD
X:::::X X:::::XD:::::::::::::::DD
X::::::X X::::::XDDD:::::DDDDD:::::D
XXX:::::X X:::::XXX D:::::D D:::::D
X:::::X X:::::X D:::::D D:::::D
X:::::X:::::X D:::::D D:::::D
X:::::::::X D:::::D D:::::D
X:::::::::X D:::::D D:::::D
X:::::X:::::X D:::::D D:::::D
X:::::X X:::::X D:::::D D:::::D
XXX:::::X X:::::XXX D:::::D D:::::D
X::::::X X::::::XDDD:::::DDDDD:::::D
X:::::X X:::::XD:::::::::::::::DD
X:::::X X:::::XD::::::::::::DDD
XXXXXXX XXXXXXXDDDDDDDDDDDDD
using llvm-config from /usr/bin/llvm-config
running build
running build_py
running build_ext
building 'xdress.clang.libclang' extension
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/opt/clang/include -fPIC -DXDRESS=1 -I/home/james/Src/xdress/xdress/clang -I/usr/include/python2.7 -c /home/james/Src/xdress/xdress/clang/src/CIndexUSRs.cpp -o build/temp.linux-x86_64-2.7/home/james/Src/xdress/xdress/clang/src/CIndexUSRs.o -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/opt/clang/include -fPIC -DXDRESS=1 -I/home/james/Src/xdress/xdress/clang -I/usr/include/python2.7 -c /home/james/Src/xdress/xdress/clang/src/CIndexHigh.cpp -o build/temp.linux-x86_64-2.7/home/james/Src/xdress/xdress/clang/src/CIndexHigh.o -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti
In file included from /home/james/Src/xdress/xdress/clang/src/CIndexHigh.cpp:14:0:
/home/james/Src/xdress/xdress/clang/src/CXSourceLocation.h: In function ‘CXSourceLocation clang::cxloc::translateSourceLocation(const clang::SourceManager&, const clang::LangOptions&, clang::SourceLocation)’:
/home/james/Src/xdress/xdress/clang/src/CXSourceLocation.h:36:52: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
Loc.getRawEncoding() };
^
/home/james/Src/xdress/xdress/clang/src/CXSourceLocation.h:36:52: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
/home/james/Src/xdress/xdress/clang/src/CIndexHigh.cpp: At global scope:
/home/james/Src/xdress/xdress/clang/src/CIndexHigh.cpp:413:1: error: ‘CXResult’ does not name a type
CXResult clang_findReferencesInFile(CXCursor cursor, CXFile file,
^
/home/james/Src/xdress/xdress/clang/src/CIndexHigh.cpp:496:1: error: ‘CXResult’ does not name a type
CXResult clang_findIncludesInFile(CXTranslationUnit TU, CXFile file,
^
/home/james/Src/xdress/xdress/clang/src/CIndexHigh.cpp:547:1: error: ‘CXResult’ does not name a type
CXResult clang_findReferencesInFileWithBlock(CXCursor cursor,
^
/home/james/Src/xdress/xdress/clang/src/CIndexHigh.cpp:555:1: error: ‘CXResult’ does not name a type
CXResult clang_findIncludesInFileWithBlock(CXTranslationUnit TU,
^
error: command 'gcc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment