Skip to content

explicit casts

explicit casts #68

Triggered via push January 13, 2026 12:17
Status Failure
Total duration 2m 25s
Artifacts

cmake-test.yml

on: push
Matrix: job
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 41 warnings
macos-latest-clang++-Release
Process completed with exit code 1.
macos-latest-clang++-Release
/Users/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: error: non-constant-expression cannot be narrowed from type 'int' to 'size_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
ubuntu-latest-clang++-Release
Process completed with exit code 1.
ubuntu-latest-clang++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: error: non-constant-expression cannot be narrowed from type 'int' to 'size_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
ubuntu-latest-clang++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: error: non-constant-expression cannot be narrowed from type 'int' to 'size_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
ubuntu-latest-clang++-Debug
Process completed with exit code 1.
ubuntu-latest-clang++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: error: non-constant-expression cannot be narrowed from type 'int' to 'size_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
macos-latest-clang++-Debug
Process completed with exit code 1.
macos-latest-clang++-Debug
/Users/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: error: non-constant-expression cannot be narrowed from type 'int' to 'size_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
windows-latest-cl-Debug
Process completed with exit code 1.
windows-latest-cl-Debug: src/cpp/fs/Model.h#L24
conversion from 'const int' to 'size_t' requires a narrowing conversion
windows-latest-cl-Release
Process completed with exit code 1.
windows-latest-cl-Release: src/cpp/fs/Model.h#L24
conversion from 'const int' to 'size_t' requires a narrowing conversion
macos-latest-clang++-Release
/Users/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
ubuntu-latest-clang++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
ubuntu-latest-clang++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
ubuntu-latest-clang++-Debug
clang++: warning: -ltcmalloc: 'linker' input unused [-Wunused-command-line-argument]
ubuntu-latest-clang++-Debug
clang++: warning: -ltcmalloc: 'linker' input unused [-Wunused-command-line-argument]
ubuntu-latest-clang++-Debug
clang++: warning: -ltcmalloc: 'linker' input unused [-Wunused-command-line-argument]
ubuntu-latest-clang++-Debug
clang++: warning: -ltcmalloc: 'linker' input unused [-Wunused-command-line-argument]
ubuntu-latest-clang++-Debug
clang++: warning: -ltcmalloc: 'linker' input unused [-Wunused-command-line-argument]
ubuntu-latest-clang++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
ubuntu-latest-clang++-Debug
clang++: warning: -ltcmalloc: 'linker' input unused [-Wunused-command-line-argument]
ubuntu-latest-clang++-Debug
clang++: warning: -ltcmalloc: 'linker' input unused [-Wunused-command-line-argument]
ubuntu-latest-clang++-Debug
clang++: warning: -ltcmalloc: 'linker' input unused [-Wunused-command-line-argument]
macos-latest-clang++-Debug
/Users/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
windows-latest-cl-Debug
conversion from 'double' to '_Rx', possible loss of data
windows-latest-cl-Debug
conversion from 'size_t' to 'int', possible loss of data
windows-latest-cl-Debug: src/cpp/fs/CellPoints.cpp#L244
conversion from 'const _Ty1' to 'const fs::Idx', possible loss of data
windows-latest-cl-Debug: src/cpp/fs/CellPoints.cpp#L244
conversion from 'const _Ty2' to 'const fs::Idx', possible loss of data
windows-latest-cl-Debug: src/cpp/fs/Model.h#L219
conversion from 'size_t' to 'int', possible loss of data
windows-latest-cl-Release
conversion from 'double' to '_Rx', possible loss of data
windows-latest-cl-Release
conversion from 'size_t' to 'int', possible loss of data
windows-latest-cl-Release: src/cpp/fs/Model.h#L219
conversion from 'size_t' to 'int', possible loss of data
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Release
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:51:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
ubuntu-latest-g++-Debug
/home/runner/work/firestarr-cpp/firestarr-cpp/src/cpp/fs/Model.h:24:54: warning: narrowing conversion of ‘(int)n’ from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} [-Wnarrowing]