| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7efa490 commit 5aa32ae
282 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,12 +27,12 @@ jobs: | |||
| 27 | 27 | include: | |
| 28 | 28 | - os: ubuntu-24.04 | |
| 29 | 29 | shortosname: ubu-24 | |
| 30 | - compiler: clang++-18 | ||
| 30 | + compiler: clang++-19 | ||
| 31 | 31 | cxx_std: c++20 | |
| 32 | 32 | stdlib: libstdc++ | |
| 33 | 33 | - os: ubuntu-24.04 | |
| 34 | 34 | shortosname: ubu-24 | |
| 35 | - compiler: clang++-18 | ||
| 35 | + compiler: clang++-19 | ||
| 36 | 36 | cxx_std: c++23 | |
| 37 | 37 | stdlib: libc++-18-dev | |
| 38 | 38 | - os: ubuntu-22.04 | |
@@ -74,12 +74,17 @@ jobs: | |||
| 74 | 74 | - name: Checkout repo | |
| 75 | 75 | uses: actions/checkout@v4 | |
| 76 | 76 | ||
| 77 | - - name: Prepare compilers | ||
| 77 | + - name: Prepare compilers - macOS | ||
| 78 | 78 | if: matrix.os == 'macos-13' | |
| 79 | 79 | run: | | |
| 80 | 80 | sudo xcode-select --switch /Applications/Xcode_14.3.1.app | |
| 81 | 81 | sudo ln -s "$(brew --prefix llvm@15)/bin/clang" /usr/local/bin/clang++-15 | |
| 82 | 82 | ||
| 83 | + - name: Prepare compilers - Ubuntu 24.04 | ||
| 84 | + if: matrix.os == 'ubuntu-24.04' | ||
| 85 | + run: | | ||
| 86 | + sudo sudo apt-get install clang-19 | ||
| 87 | + | ||
| 83 | 88 | - name: Run regression tests - Linux and macOS version | |
| 84 | 89 | if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos') | |
| 85 | 90 | run: | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -301,6 +301,12 @@ | |||
| 301 | 301 | #include <vector> | |
| 302 | 302 | #endif | |
| 303 | 303 | ||
| 304 | + // Required for pure Cpp2 tests to pass on MSVC | ||
| 305 | + // #include <cstdlib> causes C2995 of math tempaltes | ||
| 306 | + #ifndef EXIT_FAILURE | ||
| 307 | + #define EXIT_FAILURE 1 | ||
| 308 | + #endif | ||
| 309 | + | ||
| 304 | 310 | // cpp2util.h uses signed integer types for indices and container sizes | |
| 305 | 311 | // so disable clang signed-to-unsigned conversion warnings in this header. | |
| 306 | 312 | #ifdef __clang__ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -169,8 +169,8 @@ else | |||
| 169 | 169 | exec_out_dir="$expected_results_dir/clang-12" | |
| 170 | 170 | elif [[ "$compiler_version" == *"clang version 15.0"* ]]; then | |
| 171 | 171 | exec_out_dir="$expected_results_dir/clang-15" | |
| 172 | - elif [[ "$compiler_version" == *"clang version 18.1"* ]]; then | ||
| 173 | - exec_out_dir="$expected_results_dir/clang-18" | ||
| 172 | + elif [[ "$compiler_version" == *"clang version 19.1"* ]]; then | ||
| 173 | + exec_out_dir="$expected_results_dir/clang-19" | ||
| 174 | 174 | elif [[ "$compiler_version" == *"g++-10"* ]]; then | |
| 175 | 175 | exec_out_dir="$expected_results_dir/gcc-10" | |
| 176 | 176 | elif [[ "$compiler_version" == *"g++-12"* || | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1 @@ | |||
| 1 | - ../../../include/cpp2util.h(1235) decltype(auto) cpp2::impl::assert_in_bounds(auto &&, std::source_location) [arg = 5, x:auto = std::vector<int>]: Bounds safety violation: out of bounds access attempt detected - attempted access at index 5, [min,max] range is [0,4] | ||
| 1 | + ../../../include/cpp2util.h(1241) decltype(auto) cpp2::impl::assert_in_bounds(auto &&, std::source_location) [arg = 5, x:auto = std::vector<int>]: Bounds safety violation: out of bounds access attempt detected - attempted access at index 5, [min,max] range is [0,4] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1 @@ | |||
| 1 | - ../../../include/cpp2util.h(546) : Bounds safety violation | ||
| 1 | + ../../../include/cpp2util.h(552) : Bounds safety violation | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1 @@ | |||
| 1 | - ../../../include/cpp2util.h(546) : Contract violation: fill: value must contain at least count elements | ||
| 1 | + ../../../include/cpp2util.h(552) : Contract violation: fill: value must contain at least count elements | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,2 +1,2 @@ | |||
| 1 | 1 | sending error to my framework... [dynamic null dereference attempt detected] | |
| 2 | - from source location: ../../../include/cpp2util.h(1126) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = int *&] | ||
| 2 | + from source location: ../../../include/cpp2util.h(1132) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = int *&] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1 @@ | |||
| 1 | - ../../../include/cpp2util.h(1126) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::expected<int, bool>]: Null safety violation: std::expected has an unexpected value | ||
| 1 | + ../../../include/cpp2util.h(1132) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::expected<int, bool>]: Null safety violation: std::expected has an unexpected value | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1 @@ | |||
| 1 | - ../../../include/cpp2util.h(1126) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::optional<int>]: Null safety violation: std::optional does not contain a value | ||
| 1 | + ../../../include/cpp2util.h(1132) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::optional<int>]: Null safety violation: std::optional does not contain a value | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1 @@ | |||
| 1 | - ../../../include/cpp2util.h(1126) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::shared_ptr<int>]: Null safety violation: std::shared_ptr is empty | ||
| 1 | + ../../../include/cpp2util.h(1132) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::shared_ptr<int>]: Null safety violation: std::shared_ptr is empty | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments