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