Skip to content

Instantly share code, notes, and snippets.

View jwtowner's full-sized avatar

Jesse Towner jwtowner

  • Smoking Gun Interactive, Inc.
View GitHub Profile
@jwtowner
jwtowner / .cpp
Created December 1, 2018 02:49
More C26495 false positives in MSVC++ 15.9.3 with templated delegating constructors and anonymous unions
#include <cstdint>
#include <array>
#include <iostream>
#include <type_traits>
// Below, we get C26495 false positive with a templated constructor delegating
// to another constructor. A non-templated constructor delegating to another
// constructor does not generate the false positive.
template <int N>
@jwtowner
jwtowner / AndroidNdkR22.props
Created January 18, 2021 22:25
Build with Android NDK r22 in MSVS 2019
<PropertyGroup Label="Globals">
<Keyword>Android</Keyword>
<MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
<ApplicationType>Android</ApplicationType>
<ApplicationTypeRevision>3.0</ApplicationTypeRevision>
<PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel Condition="'$(Platform)'=='ARM64'">android-21</AndroidAPILevel>
<AndroidAPILevel Condition="'$(Platform)'!='ARM64'">android-19</AndroidAPILevel>
<UseOfStl>c++_static</UseOfStl>
<ShowAndroidPathsVerbosity>Low</ShowAndroidPathsVerbosity>