4.3.2. Basic rules for C and C++ interworking

The following rules apply to interworking within an application:


If a C or C++ module contains functions marked with #pragma arm or #pragma thumb, you must compile the module with --apcs /interwork. This ensures that the functions can be called successfully from the other (ARM or Thumb) state.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0203G