[GCC-XML] processing OpenSSL headers?

Matěj Cepl mcepl at redhat.com
Mon Mar 4 18:46:19 EST 2013


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 at wycliff: slrn (master %)$ gccxml /usr/include/openssl/bn.h \
    -fxml=bn.pxd
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
declared in this scope
/usr/include/bits/byteswap.h: In function '__uint64_t
__bswap_64(__uint64_t)':
/usr/include/bits/byteswap.h:111: error: '__builtin_bswap64' was not
declared in this scope
matej at wycliff: slrn (master %)$ 

(using gccxml from the master branch of the Github repository on Fedora
19/x86_64).

Does anybody know a way how to process this header file?

Thanks,

Matěj Cepl
-- 
http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Always make new mistakes
   -- Esther Dyson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20130305/168f7d66/attachment.sig>


More information about the gccxml mailing list