Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 1 | // (C) Copyright John Maddock 2003. |
| 2 | // Use, modification and distribution are subject to the |
| 3 | // Boost Software License, Version 1.0. (See accompanying file |
| 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | // for C++ Builder the following options effect the ABI: |
| 7 | // |
| 8 | // -b (on or off - effect emum sizes) |
| 9 | // -Vx (on or off - empty members) |
| 10 | // -Ve (on or off - empty base classes) |
| 11 | // -aX (alignment - 5 options). |
| 12 | // -pX (Calling convention - 4 options) |
| 13 | // -VmX (member pointer size and layout - 5 options) |
| 14 | // -VC (on or off, changes name mangling) |
| 15 | // -Vl (on or off, changes struct layout). |
| 16 | |
| 17 | // In addition the following warnings are sufficiently annoying (and |
| 18 | // unfixable) to have them turned off by default: |
| 19 | // |
| 20 | // 8027 - functions containing [for|while] loops are not expanded inline |
| 21 | // 8026 - functions taking class by value arguments are not expanded inline |
| 22 | |
| 23 | #pragma nopushoptwarn |
| 24 | # pragma option push -a8 -Vx- -Ve- -b- -pc -Vmv -VC- -Vl- -w-8027 -w-8026 |
| 25 | |
| 26 | |
| 27 | |