GitHub Actions: Try MSVC builds with /std:c++17 and 20
[ACE_TAO.git] / ACE / ace / pre.h
blob1ce0832da5de2457701eb0ce9483104eb41117bd
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file pre.h
7 * @author Christopher Kohlhoff <chris@kohlhoff.com>
9 * This file saves the original alignment rules and changes the alignment
10 * boundary to ACE's default.
12 //=============================================================================
14 // No header guard
15 #if defined (_MSC_VER)
16 # pragma warning (disable:4103)
17 # pragma pack (push, 8)
18 #elif defined (__BORLANDC__)
19 # pragma option push -a8 -b -Ve- -Vx- -w-rvl -w-rch -w-ccc -w-obs -w-aus -w-pia -w-inl -w-sig
20 # if (__BORLANDC__ >= 0x660) && (__BORLANDC__ <= 0x760)
21 // False warning: Function defined with different linkage, reported to
22 // Embarcadero as QC 117740
23 # pragma option push -w-8127
24 # endif
25 # pragma nopushoptwarn
26 # pragma nopackwarning
27 #endif