Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails after commit #1622

Closed
Zenitur opened this issue Mar 2, 2024 · 3 comments
Closed

Build fails after commit #1622

Zenitur opened this issue Mar 2, 2024 · 3 comments

Comments

@Zenitur
Copy link

Zenitur commented Mar 2, 2024

Привет. Собирая master git, я словил ошибку:

/home/gaben/xray-16/src/xrGame/ui/ServerList.cpp: In constructor ‘CServerList::CServerList()’:
/home/gaben/xray-16/src/xrGame/ui/ServerList.cpp:22:138: error: use of deleted function ‘CUIFrameWindow::CUIFrameWindow(CUIFrameWindow&&)’
   22 | "Game type frame", "Players frame", "Ping frame", "Version frame" }
      |                                                                   ^

In file included from /home/gaben/xray-16/src/xrUICore/InteractiveBackground/UIInteractiveBackground.h:15,
                 from /home/gaben/xray-16/src/xrUICore/InteractiveBackground/UI_IB_Static.h:11,
                 from /home/gaben/xray-16/src/xrGame/StdAfx.h:113,
                 from /home/gaben/xray-16/build/src/xrGame/CMakeFiles/xrGame.dir/cmake_pch.hxx:5,
                 from <command-line>:
/home/gaben/xray-16/src/xrUICore/Windows/UIFrameWindow.h:4:20: note: ‘CUIFrameWindow::CUIFrameWindow(CUIFrameWindow&&)’ is implicitly deleted because the default definition would be ill-formed:
    4 | class XRUICORE_API CUIFrameWindow : public CUIWindow, public ITextureOwner
      |                    ^~~~~~~~~~~~~~
/home/gaben/xray-16/src/xrUICore/Windows/UIFrameWindow.h:4:20: error: use of deleted function ‘CUIWindow::CUIWindow(const CUIWindow&)’
In file included from /home/gaben/xray-16/src/xrUICore/Static/UILanimController.h:3,
                 from /home/gaben/xray-16/src/xrUICore/Static/UIStatic.h:2,
                 from /home/gaben/xray-16/src/xrUICore/EditBox/UICustomEdit.h:2,
                 from /home/gaben/xray-16/src/xrUICore/EditBox/UIEditBox.h:3,
                 from /home/gaben/xray-16/src/xrGame/StdAfx.h:88,
                 from /home/gaben/xray-16/build/src/xrGame/CMakeFiles/xrGame.dir/cmake_pch.hxx:5,
                 from <command-line>:
/home/gaben/xray-16/src/xrUICore/Windows/UIWindow.h:15:20: note: ‘CUIWindow::CUIWindow(const CUIWindow&)’ is implicitly deleted because the default definition would be ill-formed:
   15 | class XRUICORE_API CUIWindow : public CUISimpleWindow, public CUIDebuggable
      |                    ^~~~~~~~~
/home/gaben/xray-16/src/xrUICore/Windows/UIWindow.h:15:20: error: use of deleted function ‘CUISimpleWindow::CUISimpleWindow(const CUISimpleWindow&)’
In file included from /home/gaben/xray-16/src/xrUICore/Windows/UIWindow.h:12,
                 from /home/gaben/xray-16/src/xrUICore/Static/UILanimController.h:3,
                 from /home/gaben/xray-16/src/xrUICore/Static/UIStatic.h:2,
                 from /home/gaben/xray-16/src/xrUICore/EditBox/UICustomEdit.h:2,
                 from /home/gaben/xray-16/src/xrUICore/EditBox/UIEditBox.h:3,
                 from /home/gaben/xray-16/src/xrGame/StdAfx.h:88,
                 from /home/gaben/xray-16/build/src/xrGame/CMakeFiles/xrGame.dir/cmake_pch.hxx:5,
                 from <command-line>:
/home/gaben/xray-16/src/xrUICore/uiabstract.h:38:7: note: ‘CUISimpleWindow::CUISimpleWindow(const CUISimpleWindow&)’ is implicitly deleted because the default definition would be ill-formed:
   38 | class CUISimpleWindow : public Noncopyable
      |       ^~~~~~~~~~~~~~~
/home/gaben/xray-16/src/xrUICore/uiabstract.h:38:7: error: use of deleted function ‘Noncopyable::Noncopyable(const Noncopyable&)’
In file included from /home/gaben/xray-16/src/xrCore/Threading/Lock.hpp:4,
                 from /home/gaben/xray-16/src/xrCore/xrDebug.h:5,
                 from /home/gaben/xray-16/src/xrCore/xrCore.h:34,
                 from /home/gaben/xray-16/src/xrEngine/stdafx.h:15,
                 from /home/gaben/xray-16/src/xrGame/StdAfx.h:8,
                 from /home/gaben/xray-16/build/src/xrGame/CMakeFiles/xrGame.dir/cmake_pch.hxx:5,
                 from <command-line>:
/home/gaben/xray-16/src/Common/Noncopyable.hpp:7:5: note: declared here
    7 |     Noncopyable(const Noncopyable&) = delete;
      |     ^~~~~~~~~~~

Я выяснил, после какого коммита сломалась сборка. Это аж август 2023 года! 994b1c2

CentOS 6.11, Glibc 2.12, GCC 9.1.1 (из репозитория devtoolset).SDL 2.30.0

@Zenitur Zenitur added the Bug The issue in the run-time. label Mar 2, 2024
@Xottab-DUTY Xottab-DUTY added Build issue The issue in the build-time. and removed Bug The issue in the run-time. labels Mar 2, 2024
@Xottab-DUTY
Copy link
Member

Привет!

Можешь проверить ветку dev со свежими коммитами? Собирается?

@Xottab-DUTY
Copy link
Member

Закрою, так как должно быть исправлено.
Можно заново открыть, если что.

@Xottab-DUTY Xottab-DUTY added Duplicate and removed Build issue The issue in the build-time. labels Apr 16, 2024
@Xottab-DUTY
Copy link
Member

Дубликат #1437.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants