修订版 | b6eb23b754bd692177c61eb8cc6d33cb0d22ad1f (tree) |
---|---|
时间 | 2021-06-22 22:38:52 |
作者 | Takashi Sawanaka <sdottaka@user...> |
Commiter | Takashi Sawanaka |
Plugins: Fix a crash on Window XP
https://stackoverflow.com/questions/32633398/crash-in-catlstringmgrgetinstance-under-windows-xp/32953859#32953859
@@ -151,6 +151,7 @@ | ||
151 | 151 | <WarningLevel>Level3</WarningLevel> |
152 | 152 | <SuppressStartupBanner>true</SuppressStartupBanner> |
153 | 153 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
154 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
154 | 155 | </ClCompile> |
155 | 156 | <ResourceCompile> |
156 | 157 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -281,6 +282,7 @@ | ||
281 | 282 | <SuppressStartupBanner>true</SuppressStartupBanner> |
282 | 283 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
283 | 284 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
285 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
284 | 286 | </ClCompile> |
285 | 287 | <ResourceCompile> |
286 | 288 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -324,6 +326,7 @@ | ||
324 | 326 | <WarningLevel>Level3</WarningLevel> |
325 | 327 | <SuppressStartupBanner>true</SuppressStartupBanner> |
326 | 328 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
329 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
327 | 330 | </ClCompile> |
328 | 331 | <ResourceCompile> |
329 | 332 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -366,6 +369,7 @@ | ||
366 | 369 | <WarningLevel>Level3</WarningLevel> |
367 | 370 | <SuppressStartupBanner>true</SuppressStartupBanner> |
368 | 371 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
372 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
369 | 373 | </ClCompile> |
370 | 374 | <ResourceCompile> |
371 | 375 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -162,6 +162,7 @@ | ||
162 | 162 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
163 | 163 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
164 | 164 | <LanguageStandard>stdcpp17</LanguageStandard> |
165 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
165 | 166 | </ClCompile> |
166 | 167 | <ResourceCompile> |
167 | 168 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -205,6 +206,7 @@ | ||
205 | 206 | <SuppressStartupBanner>true</SuppressStartupBanner> |
206 | 207 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
207 | 208 | <LanguageStandard>stdcpp17</LanguageStandard> |
209 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
208 | 210 | </ClCompile> |
209 | 211 | <ResourceCompile> |
210 | 212 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -247,6 +249,7 @@ | ||
247 | 249 | <SuppressStartupBanner>true</SuppressStartupBanner> |
248 | 250 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
249 | 251 | <LanguageStandard>stdcpp17</LanguageStandard> |
252 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
250 | 253 | </ClCompile> |
251 | 254 | <ResourceCompile> |
252 | 255 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -289,6 +292,7 @@ | ||
289 | 292 | <SuppressStartupBanner>true</SuppressStartupBanner> |
290 | 293 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
291 | 294 | <LanguageStandard>stdcpp17</LanguageStandard> |
295 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
292 | 296 | </ClCompile> |
293 | 297 | <ResourceCompile> |
294 | 298 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -150,6 +150,7 @@ | ||
150 | 150 | <SuppressStartupBanner>true</SuppressStartupBanner> |
151 | 151 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
152 | 152 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
153 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
153 | 154 | </ClCompile> |
154 | 155 | <ResourceCompile> |
155 | 156 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -193,6 +194,7 @@ | ||
193 | 194 | <WarningLevel>Level3</WarningLevel> |
194 | 195 | <SuppressStartupBanner>true</SuppressStartupBanner> |
195 | 196 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
197 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
196 | 198 | </ClCompile> |
197 | 199 | <ResourceCompile> |
198 | 200 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -235,6 +237,7 @@ | ||
235 | 237 | <WarningLevel>Level3</WarningLevel> |
236 | 238 | <SuppressStartupBanner>true</SuppressStartupBanner> |
237 | 239 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
240 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
238 | 241 | </ClCompile> |
239 | 242 | <ResourceCompile> |
240 | 243 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -277,6 +280,7 @@ | ||
277 | 280 | <WarningLevel>Level3</WarningLevel> |
278 | 281 | <SuppressStartupBanner>true</SuppressStartupBanner> |
279 | 282 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
283 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
280 | 284 | </ClCompile> |
281 | 285 | <ResourceCompile> |
282 | 286 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -151,6 +151,7 @@ | ||
151 | 151 | <WarningLevel>Level3</WarningLevel> |
152 | 152 | <SuppressStartupBanner>true</SuppressStartupBanner> |
153 | 153 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
154 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
154 | 155 | </ClCompile> |
155 | 156 | <ResourceCompile> |
156 | 157 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -281,6 +282,7 @@ | ||
281 | 282 | <SuppressStartupBanner>true</SuppressStartupBanner> |
282 | 283 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
283 | 284 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
285 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
284 | 286 | </ClCompile> |
285 | 287 | <ResourceCompile> |
286 | 288 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -324,6 +326,7 @@ | ||
324 | 326 | <WarningLevel>Level3</WarningLevel> |
325 | 327 | <SuppressStartupBanner>true</SuppressStartupBanner> |
326 | 328 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
329 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
327 | 330 | </ClCompile> |
328 | 331 | <ResourceCompile> |
329 | 332 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -366,6 +369,7 @@ | ||
366 | 369 | <WarningLevel>Level3</WarningLevel> |
367 | 370 | <SuppressStartupBanner>true</SuppressStartupBanner> |
368 | 371 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
372 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
369 | 373 | </ClCompile> |
370 | 374 | <ResourceCompile> |
371 | 375 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -151,6 +151,7 @@ | ||
151 | 151 | <WarningLevel>Level3</WarningLevel> |
152 | 152 | <SuppressStartupBanner>true</SuppressStartupBanner> |
153 | 153 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
154 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
154 | 155 | </ClCompile> |
155 | 156 | <ResourceCompile> |
156 | 157 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -281,6 +282,7 @@ | ||
281 | 282 | <SuppressStartupBanner>true</SuppressStartupBanner> |
282 | 283 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
283 | 284 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
285 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
284 | 286 | </ClCompile> |
285 | 287 | <ResourceCompile> |
286 | 288 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -324,6 +326,7 @@ | ||
324 | 326 | <WarningLevel>Level3</WarningLevel> |
325 | 327 | <SuppressStartupBanner>true</SuppressStartupBanner> |
326 | 328 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
329 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
327 | 330 | </ClCompile> |
328 | 331 | <ResourceCompile> |
329 | 332 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -366,6 +369,7 @@ | ||
366 | 369 | <WarningLevel>Level3</WarningLevel> |
367 | 370 | <SuppressStartupBanner>true</SuppressStartupBanner> |
368 | 371 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
372 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
369 | 373 | </ClCompile> |
370 | 374 | <ResourceCompile> |
371 | 375 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -151,6 +151,7 @@ | ||
151 | 151 | <WarningLevel>Level3</WarningLevel> |
152 | 152 | <SuppressStartupBanner>true</SuppressStartupBanner> |
153 | 153 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
154 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
154 | 155 | </ClCompile> |
155 | 156 | <ResourceCompile> |
156 | 157 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -281,6 +282,7 @@ | ||
281 | 282 | <SuppressStartupBanner>true</SuppressStartupBanner> |
282 | 283 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
283 | 284 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
285 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
284 | 286 | </ClCompile> |
285 | 287 | <ResourceCompile> |
286 | 288 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -324,6 +326,7 @@ | ||
324 | 326 | <WarningLevel>Level3</WarningLevel> |
325 | 327 | <SuppressStartupBanner>true</SuppressStartupBanner> |
326 | 328 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
329 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
327 | 330 | </ClCompile> |
328 | 331 | <ResourceCompile> |
329 | 332 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -366,6 +369,7 @@ | ||
366 | 369 | <WarningLevel>Level3</WarningLevel> |
367 | 370 | <SuppressStartupBanner>true</SuppressStartupBanner> |
368 | 371 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
372 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
369 | 373 | </ClCompile> |
370 | 374 | <ResourceCompile> |
371 | 375 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -150,6 +150,7 @@ | ||
150 | 150 | <WarningLevel>Level3</WarningLevel> |
151 | 151 | <SuppressStartupBanner>true</SuppressStartupBanner> |
152 | 152 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
153 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
153 | 154 | </ClCompile> |
154 | 155 | <ResourceCompile> |
155 | 156 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -280,6 +281,7 @@ | ||
280 | 281 | <SuppressStartupBanner>true</SuppressStartupBanner> |
281 | 282 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
282 | 283 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
284 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
283 | 285 | </ClCompile> |
284 | 286 | <ResourceCompile> |
285 | 287 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -323,6 +325,7 @@ | ||
323 | 325 | <WarningLevel>Level3</WarningLevel> |
324 | 326 | <SuppressStartupBanner>true</SuppressStartupBanner> |
325 | 327 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
328 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
326 | 329 | </ClCompile> |
327 | 330 | <ResourceCompile> |
328 | 331 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -365,6 +368,7 @@ | ||
365 | 368 | <WarningLevel>Level3</WarningLevel> |
366 | 369 | <SuppressStartupBanner>true</SuppressStartupBanner> |
367 | 370 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
371 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
368 | 372 | </ClCompile> |
369 | 373 | <ResourceCompile> |
370 | 374 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -151,6 +151,7 @@ | ||
151 | 151 | <WarningLevel>Level3</WarningLevel> |
152 | 152 | <SuppressStartupBanner>true</SuppressStartupBanner> |
153 | 153 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
154 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
154 | 155 | </ClCompile> |
155 | 156 | <ResourceCompile> |
156 | 157 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -281,6 +282,7 @@ | ||
281 | 282 | <SuppressStartupBanner>true</SuppressStartupBanner> |
282 | 283 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
283 | 284 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
285 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
284 | 286 | </ClCompile> |
285 | 287 | <ResourceCompile> |
286 | 288 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -324,6 +326,7 @@ | ||
324 | 326 | <WarningLevel>Level3</WarningLevel> |
325 | 327 | <SuppressStartupBanner>true</SuppressStartupBanner> |
326 | 328 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
329 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
327 | 330 | </ClCompile> |
328 | 331 | <ResourceCompile> |
329 | 332 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -366,6 +369,7 @@ | ||
366 | 369 | <WarningLevel>Level3</WarningLevel> |
367 | 370 | <SuppressStartupBanner>true</SuppressStartupBanner> |
368 | 371 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
372 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
369 | 373 | </ClCompile> |
370 | 374 | <ResourceCompile> |
371 | 375 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -151,6 +151,7 @@ | ||
151 | 151 | <SuppressStartupBanner>true</SuppressStartupBanner> |
152 | 152 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
153 | 153 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
154 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
154 | 155 | </ClCompile> |
155 | 156 | <ResourceCompile> |
156 | 157 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -194,6 +195,7 @@ | ||
194 | 195 | <WarningLevel>Level3</WarningLevel> |
195 | 196 | <SuppressStartupBanner>true</SuppressStartupBanner> |
196 | 197 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
198 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
197 | 199 | </ClCompile> |
198 | 200 | <ResourceCompile> |
199 | 201 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -236,6 +238,7 @@ | ||
236 | 238 | <WarningLevel>Level3</WarningLevel> |
237 | 239 | <SuppressStartupBanner>true</SuppressStartupBanner> |
238 | 240 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
241 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
239 | 242 | </ClCompile> |
240 | 243 | <ResourceCompile> |
241 | 244 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -278,6 +281,7 @@ | ||
278 | 281 | <WarningLevel>Level3</WarningLevel> |
279 | 282 | <SuppressStartupBanner>true</SuppressStartupBanner> |
280 | 283 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
284 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
281 | 285 | </ClCompile> |
282 | 286 | <ResourceCompile> |
283 | 287 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -151,6 +151,7 @@ | ||
151 | 151 | <WarningLevel>Level3</WarningLevel> |
152 | 152 | <SuppressStartupBanner>true</SuppressStartupBanner> |
153 | 153 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
154 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
154 | 155 | </ClCompile> |
155 | 156 | <ResourceCompile> |
156 | 157 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -281,6 +282,7 @@ | ||
281 | 282 | <SuppressStartupBanner>true</SuppressStartupBanner> |
282 | 283 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
283 | 284 | <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> |
285 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
284 | 286 | </ClCompile> |
285 | 287 | <ResourceCompile> |
286 | 288 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -324,6 +326,7 @@ | ||
324 | 326 | <WarningLevel>Level3</WarningLevel> |
325 | 327 | <SuppressStartupBanner>true</SuppressStartupBanner> |
326 | 328 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
329 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
327 | 330 | </ClCompile> |
328 | 331 | <ResourceCompile> |
329 | 332 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -366,6 +369,7 @@ | ||
366 | 369 | <WarningLevel>Level3</WarningLevel> |
367 | 370 | <SuppressStartupBanner>true</SuppressStartupBanner> |
368 | 371 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
372 | + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | |
369 | 373 | </ClCompile> |
370 | 374 | <ResourceCompile> |
371 | 375 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |