File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ local requirements =
49
49
<toolset>msvc:<define>_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING
50
50
<toolset>msvc:<define>_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING
51
51
<toolset>msvc,<variant>release:<cxxflags>"/Ob2 /Oi /Ot"
52
- <toolset>gcc-mingw:<cxxflags>-Wa,-mbig-obj
53
52
<target-os>linux:<define>_XOPEN_SOURCE=600
54
53
<target-os>linux:<define>_GNU_SOURCE=1
55
54
<target-os>solaris:<define>_XOPEN_SOURCE=500
@@ -59,6 +58,7 @@ local requirements =
59
58
<target-os>windows:<define>_WIN32_WINNT=0x0A00
60
59
<target-os>windows,<toolset>gcc:<library>ws2_32
61
60
<target-os>windows,<toolset>gcc:<library>mswsock
61
+ <target-os>windows,<toolset>gcc:<cxxflags>"-Wa,-mbig-obj"
62
62
<target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
63
63
<target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
64
64
<target-os>hpux:<library>ipv6
Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ test_file()
112
112
[](fs::path const & path)
113
113
{
114
114
// no exceptions - failure will result in an empty string
115
- std ::ifstream in;
116
- in.open (path. native () );
115
+ fs ::ifstream in;
116
+ in.open (path);
117
117
noskipws (in);
118
118
auto s = std::string (
119
119
std::istream_iterator<char >(in),
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ class file_body_test : public beast::unit_test::suite
168
168
" 0123456789" ; // 40
169
169
// create the temporary file
170
170
{
171
- std::ofstream fstemp (temp.path ().native ());
171
+ std::ofstream fstemp (temp.path ().string ());
172
172
std::size_t written = 0 ;
173
173
std::size_t to_write = 4097 ;
174
174
while (written < to_write)
@@ -223,7 +223,7 @@ class file_body_test : public beast::unit_test::suite
223
223
" 0123456789" ; // 40
224
224
// create the temporary file
225
225
{
226
- std::ofstream fstemp (temp.path ().native ());
226
+ std::ofstream fstemp (temp.path ().string ());
227
227
std::size_t written = 0 ;
228
228
std::size_t to_write = 2048 ;
229
229
while (written < to_write)
You can’t perform that action at this time.
0 commit comments