Skip to content

Instantly share code, notes, and snippets.

View reupen's full-sized avatar

Reupen Shah reupen

View GitHub Profile
@reupen
reupen / msbuild-problem-matcher.json
Created February 17, 2022 21:41
Example MSBuild GitHub Actions problem matcher
{
"problemMatcher": [
{
"owner": "reupen-vs2022",
"pattern": [
{
"regexp": "^(?:\\s+\\d>)([\\w\\-:\\\\\\.]+)(?:\\((\\d+),(\\d+)\\)):\\s+(error|warning)\\s(\\w*): ([^\\[\\]]+)\\s\\[.*\\]$",
"file": 1,
"line": 2,
"column": 3,
@reupen
reupen / vs2017-15.8p3-structured-bindings-error.cpp
Last active June 27, 2018 19:55
Structured bindings compiler error with VS2017 15.8 preview 3
// Does not compile with /permissive- /std:c++17
// Yields:
// f:\playground\vc2017\vc2017\moo.cpp(16): error C3861: 'id': identifier not found
// f:\playground\vc2017\vc2017\moo.cpp(16) : error C3861 : 'name' : identifier not found
#include <vector>
#include <tuple>
template<typename Args>
class Moo {
public: