Skip to content

Commit

Permalink
C++11, Fix use of deprecated timer, fix group assignment operator.
Browse files Browse the repository at this point in the history
Dependencies like optional and smart_ptr will no longer support C++03
therefore the new minimum language level is C++11, and all the CI jobs
for both C++98 and C++03 have been removed.

Fixed use of the deprecated top level timer class as it was causing
build problems using warnings-as-errors.

Fixed -Wdeprecated-cast in group.hpp.
Fixed -Winvalid-source-encoding in sample_new_features.cpp.
Fixed -Wself-assign-overloaded in format_test2.cpp.

These changes also allow b2 to work properly when executed from
within the format directory.
  • Loading branch information
jeking3 committed May 15, 2024
1 parent 78ef371 commit 60ae371
Show file tree
Hide file tree
Showing 11 changed files with 248 additions and 270 deletions.
23 changes: 6 additions & 17 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,49 +64,38 @@ environment:
B2_CXXSTD: 14,17
B2_TOOLSET: msvc-14.1

- FLAVOR: clang-cl
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
B2_ADDRESS_MODEL: 64
B2_CXXSTD: 11,14,17
B2_TOOLSET: clang-win

- FLAVOR: Visual Studio 2015, 2013
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
B2_TOOLSET: msvc-12.0,msvc-14.0

- FLAVOR: Visual Studio 2008, 2010, 2012
- FLAVOR: Visual Studio 2013
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
B2_TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0
B2_ADDRESS_MODEL: 32 # No 64bit support
B2_TOOLSET: msvc-12.0

- FLAVOR: cygwin (32-bit)
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
ADDPATH: C:\cygwin\bin;
B2_ADDRESS_MODEL: 32
B2_CXXSTD: 03,11,14,1z
B2_CXXSTD: 11,14,1z
B2_THREADING: threadapi=pthread
B2_TOOLSET: gcc

- FLAVOR: cygwin (64-bit)
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
ADDPATH: C:\cygwin64\bin;
B2_ADDRESS_MODEL: 64
B2_CXXSTD: 03,11,14,1z
B2_CXXSTD: 11,14,1z
B2_THREADING: threadapi=pthread
B2_TOOLSET: gcc

- FLAVOR: mingw32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
B2_ADDRESS_MODEL: 32
ADDPATH: C:\mingw\bin;
B2_CXXSTD: 03,11,14,1z
B2_CXXSTD: 11,14,1z
B2_TOOLSET: gcc

- FLAVOR: mingw64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
ADDPATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;
B2_ADDRESS_MODEL: 64
B2_CXXSTD: 03,11,14,17,2a
B2_CXXSTD: 11,14,17,2a
B2_TOOLSET: gcc

install:
Expand Down
41 changes: 0 additions & 41 deletions .drone.star

This file was deleted.

106 changes: 0 additions & 106 deletions .drone/drone.sh

This file was deleted.

Loading

0 comments on commit 60ae371

Please sign in to comment.