1 | c++ -Iobj/atlas_Release -include obj/atlas_Release/precompiled.h -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -DLIBICONV_PLUG -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/local/bin -DINSTALLED_DATADIR=/usr/local/share/0ad -DINSTALLED_LIBDIR=/usr/local/lib/0ad -DUSING_PCH -I../../../source/pch/atlas -I../../../source -I../../../libraries/source/spidermonkey/include-unix-release -I/usr/local/include/X11 -I/usr/local/include -I/usr/include/X11 -Wall -O3 -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -msse -std=c++11 -fvisibility=hidden `/usr/local/bin/sdl-config --cflags` -MF obj/atlas_Release/EnvironmentHandlers.d -MT "obj/atlas_Release/EnvironmentHandlers.o" -o "obj/atlas_Release/EnvironmentHandlers.o" -c "../../../source/tools/atlas/GameInterface/Handlers/EnvironmentHandlers.cpp"
|
---|
2 |
|
---|
3 | ../../../source/tools/atlas/GameInterface/Handlers/EnvironmentHandlers.cpp:149:19: error: no viable conversion from 'const Shareable<AtlasMessage::sEnvironmentSettings>' to 'AtlasMessage::sEnvironmentSettings'
|
---|
4 | m_NewSettings = msg->settings;
|
---|
5 | ^~~~~~~~~~~~~
|
---|
6 | /wrkdirs/usr/ports/games/0ad/work/0ad-0.0.16-alpha/build/workspaces/gcc/../../../source/tools/atlas/GameInterface/Messages.h:422:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'const Shareable<AtlasMessage::sEnvironmentSettings>' to 'AtlasMessage::sEnvironmentSettings &&' for 1st argument
|
---|
7 | struct sEnvironmentSettings
|
---|
8 | ^
|
---|
9 | /wrkdirs/usr/ports/games/0ad/work/0ad-0.0.16-alpha/build/workspaces/gcc/../../../source/tools/atlas/GameInterface/Messages.h:422:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const Shareable<AtlasMessage::sEnvironmentSettings>' to 'const AtlasMessage::sEnvironmentSettings &' for 1st argument
|
---|
10 | struct sEnvironmentSettings
|
---|
11 | ^
|
---|
12 | /wrkdirs/usr/ports/games/0ad/work/0ad-0.0.16-alpha/build/workspaces/gcc/../../../source/tools/atlas/GameInterface/Messages.h:460:1: note: candidate function
|
---|
13 | SHAREABLE_STRUCT(sEnvironmentSettings);
|
---|
14 | ^
|
---|
15 | /wrkdirs/usr/ports/games/0ad/work/0ad-0.0.16-alpha/build/workspaces/gcc/../../../source/tools/atlas/GameInterface/Shareable.h:113:3: note: expanded from macro 'SHAREABLE_STRUCT'
|
---|
16 | operator const T() const { return m; } \
|
---|
17 | ^
|
---|
18 | /wrkdirs/usr/ports/games/0ad/work/0ad-0.0.16-alpha/build/workspaces/gcc/../../../source/tools/atlas/GameInterface/Messages.h:422:8: note: passing argument to parameter here
|
---|
19 | struct sEnvironmentSettings
|
---|
20 | ^
|
---|