pcg-cpp icon indicating copy to clipboard operation
pcg-cpp copied to clipboard

Enable empty base class optimization on MSVC

Open melak47 opened this issue 5 years ago • 0 comments

MSVC implements empty base class optimization only as an opt-in (see https://devblogs.microsoft.com/cppblog/optimizing-the-layout-of-empty-base-classes-in-vs2015-update-2-3/).

Because of this, the tests fail on MSVC as the engines are larger than expected. By using the attribute to opt-in to EBCO, the engines are of the expected sizes.

melak47 avatar Dec 15 '20 13:12 melak47