Skip to content

🚧 utils: fix for DEVENV OFF #103

🚧 utils: fix for DEVENV OFF

🚧 utils: fix for DEVENV OFF #103

Triggered via push June 25, 2024 22:07
Status Success
Total duration 1m 48s
Artifacts

checks.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
/src/utils.cpp:98:6 [modernize-use-trailing-return-type: src/utils.cpp#L98
use a trailing return type for this function
/src/utils.cpp:110:13 [modernize-use-trailing-return-type: src/utils.cpp#L110
use a trailing return type for this function
/src/utils.cpp:115:6 [modernize-use-trailing-return-type: src/utils.cpp#L115
use a trailing return type for this function
/src/utils.cpp:128:6 [bugprone-exception-escape: src/utils.cpp#L128
an exception may be thrown in function 'arch_chroot' which should not throw exceptions
/src/utils.cpp:172:29 [cppcoreguidelines-avoid-magic-numbers: src/utils.cpp#L172
1048576 is a magic number; consider replacing it with a named constant
/src/utils.cpp:179:28 [cppcoreguidelines-avoid-c-arrays: src/utils.cpp#L179
do not declare C-style arrays, use std::array<> instead
/src/utils.cpp:180:121 [cppcoreguidelines-pro-bounds-array-to-pointer-decay: src/utils.cpp#L180
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead
/src/utils.cpp:238:13 [modernize-use-trailing-return-type: src/utils.cpp#L238
use a trailing return type for this function
Check C++ style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cpp-linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.