On 03/04/2013 06:46 PM, Matěj Cepl wrote: > Hi, when I tried to run gccxml on OpenSSL headers (bn.h in this case) > I've got into some kind of trouble for which I don't know way out: > > matej@wycliff: slrn (master %)$ gccxml /usr/include/openssl/bn.h \ > -fxml=bn.pxd
What compiler does this target? See "gccxml --print" output for GCCXML_COMPILER, and run the reported compiler with --version. > In file included from /usr/include/endian.h:60, > from /usr/include/bits/waitstatus.h:64, > from /usr/include/stdlib.h:42, > from /usr/include/openssl/crypto.h:120, > from /usr/include/openssl/bn.h:133: > /usr/include/bits/byteswap.h: In function 'unsigned int > __bswap_32(unsigned int)': > /usr/include/bits/byteswap.h:47: error: '__builtin_bswap32' was not I suspect GCC_XML/Support/GCC/$version/gccxml_builtins.h needs to be updated to be aware of this builtin for whatever compiler/version you're running. -Brad _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.gccxml.org/mailman/listinfo/gccxml