Skip to content

Commit 046cf0a

Browse files
authored
Bump 4.4.0, update codebase to c++20 (#473)
1 parent b8beac9 commit 046cf0a

65 files changed

Lines changed: 3722 additions & 5570 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
- name: Build
206206
uses: vmactions/freebsd-vm@v1
207207
with:
208-
release: '14.2'
208+
release: '15.0'
209209
usesh: true
210210
sync: rsync
211211
copyback: false
@@ -264,7 +264,7 @@ jobs:
264264
run: |
265265
echo Building on solaris...
266266
cmake -G "Unix Makefiles" -S . -Bbuild -DYASIO_SSL_BACKEND=2
267-
cmake --build build --config Release
267+
cmake --build build --config Release --verbose
268268
echo run test icmp on solaris ...
269269
./build/tests/icmp/icmptest
270270
echo run ssltest on solaris ...

1k/1kiss.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ $manifest = @{
219219
# exactly match format: '14.42.*'
220220
msvc = '14.39+';
221221
vs = '12.0+';
222-
ndk = 'r23c';
222+
ndk = 'r27d';
223223
xcode = '13.0.0+'; # range
224224
# _EMIT_STL_ERROR(STL1000, "Unexpected compiler version, expected Clang xx.x.x or newer.");
225225
# clang-cl msvc14.37 require 16.0.0+

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cmake_dependent_option(YASIO_BUILD_LUA_EXAMPLE
3333
"Build lua example when we are the root project" ON
3434
"CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF)
3535

36-
option(YASIO_ENABLE_EXT_HTTP "Build yasio http extension" ON)
36+
option(YASIO_ENABLE_EXT_HTTP "Build yasio http extension" OFF)
3737
option(YASIO_ENABLE_LUA "Build yasio with lua support" OFF)
3838
option(YASIO_ENABLE_AXLUA "Build yasio with axmol-lua support" OFF)
3939
option(YASIO_ENABLE_NI "Build yasio with native interface for interop" OFF)
@@ -63,7 +63,7 @@ endif()
6363
# --- The C/C++ standard
6464
if (NOT MSVC)
6565
if (NOT CXX_STD)
66-
set(CXX_STD 11)
66+
set(CXX_STD 20)
6767
endif()
6868
set(CMAKE_CXX_STANDARD ${CXX_STD})
6969
else()
@@ -76,7 +76,7 @@ else()
7676
set(CXX_STD latest)
7777
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++latest")
7878
else()
79-
set(CXX_STD 11)
79+
set(CXX_STD 20)
8080
endif()
8181
endif()
8282
endif()
@@ -499,7 +499,7 @@ if(YASIO_BUILD_TESTS)
499499
endif()
500500
if (NOT YASIO_NO_DEPS)
501501
add_subdirectory(examples/ftp_server)
502-
add_subdirectory(tests/http)
502+
# add_subdirectory(tests/http)
503503
endif()
504504
if (YASIO_SSL_BACKEND)
505505
add_subdirectory(tests/ssl)

examples/ftp_server

extensions/yasio_http/.clang-format

Lines changed: 0 additions & 64 deletions
This file was deleted.

extensions/yasio_http/CMakeLists.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)