Ticket #8 (new defect) — at Initial Version

Opened 9 years ago

Last modified 8 years ago

ARM4_API_CALL in arm4os.h not consistently defined for Linux/i386

Reported by: stefan.ruppert@… Owned by: stefan.ruppert@…
Priority: major Milestone: ARM4SDK Release 1.3
Component: ARM 4.0 C Binding Version: 1.1
Keywords: Cc:

Description

The arm4os.h header file defines the ARM4_API_CALL macro as __attribute__((stdcall)) if the following macros are defined

  • linux
  • __GNUC__
  • __i386__

But the linux define is not always set by gcc. If you specify -std=c99 for example, the linux define is not provided by gcc since it is not posix compatible.

Note: See TracTickets for help on using tickets.