diff options
Diffstat (limited to 'src/plugins/generator/iarew')
-rw-r--r-- | src/plugins/generator/iarew/archs/arm/armgeneralsettingsgroup_v8.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/generator/iarew/archs/arm/armgeneralsettingsgroup_v8.cpp b/src/plugins/generator/iarew/archs/arm/armgeneralsettingsgroup_v8.cpp index b7c919391..a281af6cb 100644 --- a/src/plugins/generator/iarew/archs/arm/armgeneralsettingsgroup_v8.cpp +++ b/src/plugins/generator/iarew/archs/arm/armgeneralsettingsgroup_v8.cpp @@ -91,6 +91,11 @@ struct CpuCoreEntry final CortexM23 = 58, CortexM33 = 59 }; + // Required to compile in MSVC2015. + CpuCoreEntry(CpuCoreCode cc, QByteArray tf) + : coreCode(cc), targetFlag(std::move(tf)) + {} + CpuCoreCode coreCode = Arm7tdmi; QByteArray targetFlag; }; @@ -162,6 +167,13 @@ struct FpuCoreEntry final Vfp5d16 = 7, Vfp9s = 8 }; + + // Required to compile in MSVC2015. + FpuCoreEntry(FpuCoreCode cc, FpuRegistersCount rc, + QByteArray tf) + : coreCode(cc), regsCount(rc), targetFlag(std::move(tf)) + {} + FpuCoreCode coreCode = NoVfp; FpuRegistersCount regsCount = NoFpuRegisters; QByteArray targetFlag; |