Project

General

Profile

Bug #876

<byteswap.h> does not properly define bswap_16 macro

Added by Alex Afanasyev over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Category:
libcrystax
Target version:
Start date:
01/24/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
arm
Host OS:
Linux
Toolchain:
gcc-4.9
Android version:
CrystaX Version:

Description

Here is the problem I encountered while compiling some of my code

/opt/crystax-ndk-10.1.0/platforms/android-3/arch-arm/usr/include/byteswap.h:34:32: error: 'swap16' was not declared in this scope
 #define  bswap_16(x)   swap16(x)

Replacing swap16(x) with bswap16(x) fixed the issue for me.

History

#1 Updated by Dmitry Moskalchuk over 4 years ago

  • Category set to libcrystax
  • Assignee set to Dmitry Moskalchuk
  • Priority changed from Normal to High
  • Target version set to 10.2.0

#2 Updated by Dmitry Moskalchuk over 4 years ago

  • Status changed from Open to In Progress

#3 Updated by Dmitry Moskalchuk over 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF