Skip to content

Update Document.cpp #1688

Update Document.cpp

Update Document.cpp #1688

Triggered via push February 4, 2025 13:13
Status Success
Total duration 21m 23s
Artifacts 8

CI_master.yml

on: push
Prepare  /  Prepare
6s
Prepare / Prepare
Matrix: Pixi / build_with_pixi
WrapUp  /  WrapUp
4s
WrapUp / WrapUp
Fit to window
Zoom out
Zoom in

Annotations

1 error and 57 warnings
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/App/Document.cpp#L125
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/App/Document.cpp#L126
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/App/Document.cpp#L127
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/App/Document.cpp#L128
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/App/Document.cpp#L159
Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
Lint / Lint: src/App/Document.cpp#L160
Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
Lint / Lint: src/App/Document.cpp#L161
Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
Lint / Lint: src/App/Document.cpp#L173
Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
Lint / Lint: src/App/Document.cpp#L178
Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
Lint / Lint: src/App/Document.cpp#L700
Using C-style cast. Use static_cast<int>(...) instead [readability/casting] [4]
Lint / Lint: src/Base/Type.h#L119
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L150
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L155
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L160
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L165
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L170
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L175
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/TimeInfo.h#L70
Pass small and trivially-copyable type by value (const class Base::TimeInfo &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/TimeInfo.h#L70
Pass small and trivially-copyable type by value (const class Base::TimeInfo &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/TimeInfo.h#L76
Pass small and trivially-copyable type by value (const class Base::TimeInfo &) [-Wclazy-function-args-by-value]
Lint / Lint: src/App/Document.cpp#L144
'Hasher' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer]
Lint / Lint: src/App/Document.cpp#L145
declaration uses identifier '_RD', which is a reserved identifier [bugprone-reserved-identifier]
Lint / Lint: src/App/Document.cpp#L146
declaration uses identifier '_RGEN', which is a reserved identifier [bugprone-reserved-identifier]
Lint / Lint: src/App/Document.cpp#L147
declaration uses identifier '_RDIST', which is a reserved identifier [bugprone-reserved-identifier]
Lint / Lint: src/App/Document.cpp#L147
5000 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: src/App/Document.cpp#L152
'activeObject' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer]
Lint / Lint: src/App/Document.cpp#L153
'activeUndoTransaction' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer]
Lint / Lint: src/App/Document.cpp#L154
'iTransactionMode' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer]
Lint / Lint: src/App/Document.cpp#L155
'rollback' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer]
Lint / Lint: src/App/Document.cpp#L156
'undoing' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1787
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1788
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1983
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L2029
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1992
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L2014
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L491
implicit conversion from 'const int64_t' (aka 'const long long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L203
implicit conversion from 'const int32_t' (aka 'const int') to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L215
implicit conversion from 'const uint32_t' (aka 'const unsigned int') to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L227
implicit conversion from 'const int64_t' (aka 'const long long') to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L227
implicit conversion from 'const int64_t' (aka 'const long long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/CXX/Python3/Objects.hxx#L1787
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Ubuntu_20-04 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_20-04 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Pixi / build_with_pixi (windows-latest)
No files were found with the provided path: D:\a\FreeCAD\FreeCAD/logs/ /var/crash/*FreeCAD*. No artifacts will be uploaded.
Pixi / build_with_pixi (windows-latest)
'=': conversion from 'size_t' to '_Ty', possible loss of data
Pixi / build_with_pixi (windows-latest)
No files were found with the provided path: D:\a\FreeCAD\FreeCAD/report/Pixi-13136261012-windows-latest-report.md. No artifacts will be uploaded.
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.

Artifacts

Produced during runtime
Name Size
Lint-13136261012-Logs
40.1 KB
Pixi-13136261012-macos-latest-Logs
45.7 KB
Pixi-13136261012-macos-latest-report.md
406 Bytes
Pixi-13136261012-ubuntu-latest-Logs
45.9 KB
Pixi-13136261012-ubuntu-latest-report.md
591 Bytes
Prepare-13136261012-Logs
4.42 KB
Ubuntu_20-04-13136261012-Logs
180 KB
Windows-13136261012-Logs
1.64 MB