Try alignment flag

release/4.3a0
Frank Dellaert 2023-02-04 15:35:22 -08:00
parent 2d2504e9ce
commit 4461efc495
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ namespace internal {
template<int T> struct CallRecord;
// The MSVC compiler insists on knowing extended alignment is ok.
#ifdef _MSC_VER
#define _ENABLE_EXTENDED_ALIGNED_STORAGE
#endif
/// Storage type for the execution trace.
/// It enforces the proper alignment in a portable way.
/// Provide a traceSize() sized array of this type to traceExecution as traceStorage.