From 54ba0135d49168f37bcb0a5e842dbd74ccbdc5f7 Mon Sep 17 00:00:00 2001 From: Adeel Date: Sun, 6 Sep 2015 19:48:15 +0300 Subject: [PATCH] Repo: Mutes a modifier mismatch warning. * Also added `CMakeFiles/` dir to `.gitignore` and updated README. --- .gitignore | 1 + README.md | 5 +++-- samples/theories.c | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4da1b50..9e813d9 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ !HEADER !ChangeLog +CMakeFiles/ !CMakeLists.txt !.cmake/* diff --git a/README.md b/README.md index bdc4d7d..5f46f76 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ Criterion Logo ========= -[![Build Status](https://travis-ci.org/Snaipe/Criterion.svg?branch=bleeding)](https://travis-ci.org/Snaipe/Criterion) +[![Unix Build Status](https://travis-ci.org/Snaipe/Criterion.svg?branch=bleeding)](https://travis-ci.org/Snaipe/Criterion) +[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/Snaipe/Criterion?svg=true)](https://ci.appveyor.com/project/Snaipe/Criterion/branch/bleeding) [![Coverage Status](https://coveralls.io/repos/Snaipe/Criterion/badge.svg?branch=bleeding)](https://coveralls.io/r/Snaipe/Criterion?branch=bleeding) [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/Snaipe/Criterion/blob/master/LICENSE) [![Version](https://img.shields.io/github/tag/Snaipe/Criterion.svg?label=version&style=flat)](https://github.com/Snaipe/Criterion/releases) @@ -32,7 +33,7 @@ the user would have with other frameworks: * [x] There is a support for theories alongside tests * [x] Progress and statistics can be followed in real time with report hooks. * [x] TAP output format can be enabled with an option. -* [x] Runs on Linux, FreeBSD, Mac OS X, and Windows (Compiling with MinGW GCC). +* [x] Runs on Linux, FreeBSD, Mac OS X, and Windows (Compiling with MinGW GCC and Visaul Studio 2015+). ## Downloads diff --git a/samples/theories.c b/samples/theories.c index 0493619..564297d 100644 --- a/samples/theories.c +++ b/samples/theories.c @@ -1,3 +1,7 @@ +#ifdef _MSC_VER +#pragma warning(disable : 4090) +#endif + #include #include