Project

General

Profile

Actions

Bug #876

closed

<byteswap.h> does not properly define bswap_16 macro

Added by Alex A. almost 10 years ago. Updated almost 10 years ago.

Status:
Completed
Priority:
High
Assignee:
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 NDK 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.

Actions #1

Updated by Dmitry M. almost 10 years ago

  • Category set to libcrystax
  • Assignee set to Dmitry M.
  • Priority changed from Normal to High
  • Target version set to 10.2.0
Actions #2

Updated by Dmitry M. almost 10 years ago

  • Status changed from Open to In Progress
Actions #3

Updated by Dmitry M. almost 10 years ago

  • Status changed from In Progress to Completed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF