|
Message-ID: <015301cd592c$63b74280$2b25c780$@net> Date: Tue, 3 Jul 2012 09:59:04 -0500 From: "jfoug" <jfoug@....net> To: <john-dev@...ts.openwall.com> Subject: RE: Building bleeding (target linux-x86-clang) fails (gost.h/gost_plug.c) Frank Can you try this patch (against bleeding). It changes the name from __bswap_32() to _Swap_32() before the #define. In original code, there was an inline done, that was simply bswap_32() Well that clashed with an older gcc version. So I changed the name and did a #define. However, it looks like the name I changed it to, was used in your version. So now, I chose a hopefully totally unused name (within gcc), of _Swap_32() and then later #define to use it. I hope that name is unique enough that it causes no trouble. Jim. >From: Frank Dittrich [mailto:frank_dittrich@...mail.com] > >In file included from gost_plug.c:17: >./gost.h:105:24: error: expected identifier or '(' >static inline uint32_t __bswap_32(uint32_t x) { > ^ >In file included from gost_plug.c:15: >In file included from /usr/include/string.h:637: >In file included from /usr/include/bits/string2.h:52: >In file included from /usr/include/endian.h:61: >/usr/include/bits/byteswap.h:88:7: note: instantiated from: > (__extension__ > \ > ^ Clip...
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.