[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/1] Fix clang compilation issue with bswap*



Using Clang results in compilation errors regarding the `__bswapXY` and
`__builtin_bswapXY` functions. There are simultaneously a definition of
a macro `__bswapXY` and a definition of a function `__bswapXY`; GCC
doesn't complain, but Clang does.

This patch fixes it. It's a rework of Alice Suiu's initial submission:
https://patchwork.unikraft.org/patch/737267/

Razvan Deaconescu (1):
  include/endian.h: Remove bswap* duplicate definitions

 include/endian.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

-- 
2.17.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.