Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2020
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. [SRC] Compiling gfx_layout.cpp
  2. /home/openttd/git-stable/src/gfx_layout.cpp: In member function ‘virtual std::unique_ptr<const ParagraphLayouter::Line> FallbackParagraphLayout::NextLine(int)’:
  3. /home/openttd/git-stable/src/gfx_layout.cpp:513:10: error: invalid conversion from ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>’ to ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>&&’ [-fpermissive]
  4. In file included from /usr/include/c++/4.7/memory:86:0,
  5. from /home/openttd/git-stable/src/stdafx.h:87,
  6. from /home/openttd/git-stable/src/gfx_layout.cpp:10:
  7. /usr/include/c++/4.7/bits/unique_ptr.h:155:2: error: initializing argument 1 of ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = FallbackParagraphLayout::FallbackLine; _Ep = std::default_delete<FallbackParagraphLayout::FallbackLine>; <template-parameter-2-3> = void; _Tp = const ParagraphLayouter::Line; _Dp = std::default_delete<const ParagraphLayouter::Line>]’ [-fpermissive]
  8. /home/openttd/git-stable/src/gfx_layout.cpp:513:10: error: cannot convert ‘l’ from type ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>’ to type ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>&&’
  9. /home/openttd/git-stable/src/gfx_layout.cpp:563:13: error: invalid conversion from ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>’ to ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>&&’ [-fpermissive]
  10. In file included from /usr/include/c++/4.7/memory:86:0,
  11. from /home/openttd/git-stable/src/stdafx.h:87,
  12. from /home/openttd/git-stable/src/gfx_layout.cpp:10:
  13. /usr/include/c++/4.7/bits/unique_ptr.h:155:2: error: initializing argument 1 of ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = FallbackParagraphLayout::FallbackLine; _Ep = std::default_delete<FallbackParagraphLayout::FallbackLine>; <template-parameter-2-3> = void; _Tp = const ParagraphLayouter::Line; _Dp = std::default_delete<const ParagraphLayouter::Line>]’ [-fpermissive]
  14. /home/openttd/git-stable/src/gfx_layout.cpp:563:13: error: cannot convert ‘l’ from type ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>’ to type ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>&&’
  15. /home/openttd/git-stable/src/gfx_layout.cpp:590:9: error: invalid conversion from ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>’ to ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>&&’ [-fpermissive]
  16. In file included from /usr/include/c++/4.7/memory:86:0,
  17. from /home/openttd/git-stable/src/stdafx.h:87,
  18. from /home/openttd/git-stable/src/gfx_layout.cpp:10:
  19. /usr/include/c++/4.7/bits/unique_ptr.h:155:2: error: initializing argument 1 of ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = FallbackParagraphLayout::FallbackLine; _Ep = std::default_delete<FallbackParagraphLayout::FallbackLine>; <template-parameter-2-3> = void; _Tp = const ParagraphLayouter::Line; _Dp = std::default_delete<const ParagraphLayouter::Line>]’ [-fpermissive]
  20. /home/openttd/git-stable/src/gfx_layout.cpp:590:9: error: cannot convert ‘l’ from type ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>’ to type ‘std::unique_ptr<FallbackParagraphLayout::FallbackLine>&&’
  21. /home/openttd/git-stable/src/gfx_layout.cpp:591:1: warning: control reaches end of non-void function [-Wreturn-type]
  22. make[1]: *** [gfx_layout.o] Error 1
  23. make[1]: Leaving directory `/home/openttd/git-stable/objs/release'
  24. make: *** [all] Error 1
  25. openttd@games:~/git-stable> which g++
  26. /usr/bin/g++
  27. openttd@games:~/git-stable> g++ --version
  28. g++ (SUSE Linux) 4.7.1 20120723 [gcc-4_7-branch revision 189773]
  29. Copyright (C) 2012 Free Software Foundation, Inc.
  30. This is free software; see the source for copying conditions. There is NO
  31. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  32.  
  33. openttd@games:~/git-stable>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement