From 12858075f748f232e74bcd7dd3aed4f5c4fce6d4 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 19 Apr 2018 04:58:15 -0400 Subject: [PATCH] Fixing CUDA NVCC 7.0 --- CHANGELOG.md | 2 +- README.md | 6 +++--- include/CLI/Option.hpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fafee7d8..443926ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ ### Version 1.5.3: Compiler compatibility -This version fixes older AppleClang compilers by removing the optimization for casting. The minimum version of Boost Optional supported has been clarified to be 1.58. +This version fixes older AppleClang compilers by removing the optimization for casting. The minimum version of Boost Optional supported has been clarified to be 1.58. CUDA 7.0 NVCC is now supported. ### Version 1.5.2: LICENSE in single header mode diff --git a/README.md b/README.md index 7cc9504c..6e2cfc59 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ You can be notified when new releases are made by subscribing to https://github. An acceptable CLI parser library should be all of the following: -* Easy to include (i.e., header only, one file if possible, **no external requirements**): While many programs depend on Boost, that should not be a requirement if all you want is CLI parsing. -* Short Syntax: This is one of the main points of a CLI parser, it should make variables from the command line nearly as easy to define as any other variables. If most of your program is hidden in CLI parsing, this is a problem for readability. -* C++11 or better: Should work with GCC 4.7+ (such as GCC 4.8 on CentOS 7) or above, or Clang 3.5+, or MSVC 2015+. (Note: for CLI11, Clang 3.4 only fails because of tests, GoogleMock does not support it.) +* Easy to include (i.e., header only, one file if possible, **no external requirements**). +* Short, simple syntax: This is one of the main reasons to use a CLI parser, it should make variables from the command line nearly as easy to define as any other variables. If most of your program is hidden in CLI parsing, this is a problem for readability. +* C++11 or better: Should work with GCC 4.7+ (such as GCC 4.8 on CentOS 7), Clang 3.5+, AppleClang 7+, NVCC 7.0+, or MSVC 2015+. * Work on Linux, macOS, and Windows. * Well tested using [Travis] (Linux and macOS) and [AppVeyor] (Windows). "Well" is defined as having good coverage measured by [CodeCov]. * Clear help printing. diff --git a/include/CLI/Option.hpp b/include/CLI/Option.hpp index 9074466f..14d10bbe 100644 --- a/include/CLI/Option.hpp +++ b/include/CLI/Option.hpp @@ -34,7 +34,7 @@ template class OptionBase { protected: /// The group membership - std::string group_{"Options"}; + std::string group_ = std::string("Options"); /// True if this is a required option bool required_{false};