Commit ad1bd262b5d56a9e562ab292e0665d64da61eb00

Authored by Henry Fredrick Schreiner
1 parent 2170b60c

Trying to fix linker errors

.appveyor.yml
@@ -7,9 +7,6 @@ os: @@ -7,9 +7,6 @@ os:
7 environment: 7 environment:
8 CTEST_OUPTUT_ON_FAILURE: ON 8 CTEST_OUPTUT_ON_FAILURE: ON
9 9
10 -configuration:  
11 - - Debug  
12 -  
13 branches: 10 branches:
14 except: 11 except:
15 - gh-pages 12 - gh-pages
include/CLI/Validators.hpp
@@ -27,7 +27,7 @@ namespace CLI { @@ -27,7 +27,7 @@ namespace CLI {
27 bool ExistingFile(std::string filename) { 27 bool ExistingFile(std::string filename) {
28 struct stat buffer; 28 struct stat buffer;
29 bool exist = stat(filename.c_str(), &buffer) == 0; 29 bool exist = stat(filename.c_str(), &buffer) == 0;
30 - bool is_dir = (buffer.st_mode & S_IFDIR != 0); 30 + bool is_dir = (buffer.st_mode & S_IFDIR) != 0;
31 if(!exist) { 31 if(!exist) {
32 std::cerr << "File does not exist: " << filename << std::endl; 32 std::cerr << "File does not exist: " << filename << std::endl;
33 return false; 33 return false;