Updated readme and comments.

This commit is contained in:
Steffen Schuemann 2019-04-27 07:30:58 +02:00
parent 8e6e9a41e7
commit c63d9d7481
3 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
![Supported Platforms](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-blue.svg)
[![Build Status](https://travis-ci.org/gulrak/filesystem.svg?branch=master)](https://travis-ci.org/gulrak/filesystem)
[![Build status](https://ci.appveyor.com/api/projects/status/t07wp3k2cddo0hpo?svg=true)](https://ci.appveyor.com/project/gulrak/filesystem)
[![Build status](https://ci.appveyor.com/api/projects/status/t07wp3k2cddo0hpo/branch/master?svg=true)](https://ci.appveyor.com/project/gulrak/filesystem)
![Latest Release Tag](https://img.shields.io/github/tag/gulrak/filesystem.svg)
# Filesystem

View File

@ -142,7 +142,8 @@
#include <system_error>
#endif // GHC_EXPAND_IMPL
//#define LWG_2935_BEHAVIOUR
// configure LWG conformance (see README.md)
// #define LWG_2935_BEHAVIOUR
#define LWG_2937_BEHAVIOUR
// ghc::filesystem version in decimal (major * 10000 + minor * 100 + patch)

View File

@ -1364,7 +1364,7 @@ TEST_CASE("30.10.15.6 create_directories", "[filesystem][operations][fs.op.creat
CHECK(!fs::is_directory(p));
CHECK(!fs::create_directories(p, ec));
#else
INFO("This test expects conformance predating LWG #2935 result. (What I think is more helpful.)");
INFO("This test expects conformance predating LWG #2935 result. (As suggested by WG21 P1164R0, implemented by GCC with issue #86910.)");
p = t.path() / "testfile";
generateFile(p);
CHECK(fs::is_regular_file(p));
@ -1408,7 +1408,7 @@ TEST_CASE("30.10.15.7 create_directory", "[filesystem][operations][fs.op.create_
CHECK(!fs::is_directory(p));
CHECK(!fs::create_directories(p, ec));
#else
INFO("This test expects conformance predating LWG #2935 result. (What I think is more helpful.)");
INFO("This test expects conformance predating LWG #2935 result. (As suggested by WG21 P1164R0, implemented by GCC with issue #86910.)");
p = t.path() / "testfile";
generateFile(p);
CHECK(fs::is_regular_file(p));