Merge topic 'cxx-checks-tolerate-unused-arguments'
[kiteware-cmake.git] / Modules / CMakeOBJCXXCompilerABI.mm
blob7b9fefccf544eaa1cc61baccc773bcec411c4fdc
1 #ifndef __cplusplus
2 # error "A C compiler has been selected for Objective-C++."
3 #endif
5 /*--------------------------------------------------------------------------*/
7 #include "CMakeCompilerABI.h"
9 /*--------------------------------------------------------------------------*/
11 int main(int argc, char *argv[])
13   int require = 0;
14   require += info_sizeof_dptr[argc];
15   require += info_byte_order_big_endian[argc];
16   require += info_byte_order_little_endian[argc];
17 #if defined(ABI_ID)
18   require += info_abi[argc];
19 #endif
20   (void)argv;
21   return require;