Skip to content

Commit 72429c3

Browse files
committed
Merge branch 'develop'
2 parents fa32a52 + a4311b7 commit 72429c3

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ environment:
9999
B2_CXXSTD: 03,11,14,1z
100100
B2_TOOLSET: gcc
101101

102-
- FLAVOR: mingw32
103-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
102+
- FLAVOR: mingw64 (32-bit)
103+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
104+
ADDPATH: C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;
104105
B2_ADDRESS_MODEL: 32
105-
ADDPATH: C:\mingw\bin;
106-
B2_CXXSTD: 03,11,14,1z
106+
B2_CXXSTD: 03,11,14,17,2a
107107
B2_TOOLSET: gcc
108108

109109
- FLAVOR: mingw64

src/cstdio.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#define BOOST_NOWIDE_SOURCE
99

1010
#ifdef _MSC_VER
11+
#ifndef _CRT_SECURE_NO_WARNINGS
1112
#define _CRT_SECURE_NO_WARNINGS
13+
#endif
1214
#elif defined(__MINGW32__) && defined(__STRICT_ANSI__)
1315
// Need the _w* functions which are extensions on MinGW but not on MinGW-w64
1416
#include <_mingw.h>

src/cstdlib.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#define BOOST_NOWIDE_SOURCE
99

1010
#ifdef _MSC_VER
11+
#ifndef _CRT_SECURE_NO_WARNINGS
1112
#define _CRT_SECURE_NO_WARNINGS
13+
#endif
1214
#elif defined(__MINGW32__) && defined(__STRICT_ANSI__)
1315
// Need the _w* functions which are extensions on MinGW but not on MinGW-w64
1416
#include <_mingw.h>

test/test_system.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
// https://www.boost.org/LICENSE_1_0.txt
66

77
#ifdef _MSC_VER
8+
#ifndef _CRT_SECURE_NO_WARNINGS
89
#define _CRT_SECURE_NO_WARNINGS
910
#endif
11+
#endif
1012

1113
#include <boost/nowide/args.hpp>
1214
#include <boost/nowide/cstdlib.hpp>

0 commit comments

Comments
 (0)