Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [SRC] Compiling gfx_layout.cpp
- /home/openttd/git-stable/src/gfx_layout.cpp: In member function ‘virtual std::unique_ptr<const ParagraphLayouter::Line> FallbackParagraphLayout::NextLine(int)’:
- /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]
- In file included from /usr/include/c++/4.7/memory:86:0,
- from /home/openttd/git-stable/src/stdafx.h:87,
- from /home/openttd/git-stable/src/gfx_layout.cpp:10:
- /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]
- /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>&&’
- /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]
- In file included from /usr/include/c++/4.7/memory:86:0,
- from /home/openttd/git-stable/src/stdafx.h:87,
- from /home/openttd/git-stable/src/gfx_layout.cpp:10:
- /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]
- /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>&&’
- /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]
- In file included from /usr/include/c++/4.7/memory:86:0,
- from /home/openttd/git-stable/src/stdafx.h:87,
- from /home/openttd/git-stable/src/gfx_layout.cpp:10:
- /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]
- /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>&&’
- /home/openttd/git-stable/src/gfx_layout.cpp:591:1: warning: control reaches end of non-void function [-Wreturn-type]
- make[1]: *** [gfx_layout.o] Error 1
- make[1]: Leaving directory `/home/openttd/git-stable/objs/release'
- make: *** [all] Error 1
- openttd@games:~/git-stable> which g++
- /usr/bin/g++
- openttd@games:~/git-stable> g++ --version
- g++ (SUSE Linux) 4.7.1 20120723 [gcc-4_7-branch revision 189773]
- Copyright (C) 2012 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- openttd@games:~/git-stable>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement