View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000109 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-01-23 12:32 | 2017-01-23 16:07 |
Reporter | Matthew the Glutton | ||||
Assigned To | _mental_ | ||||
Priority | normal | Severity | block | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | OS | Debian Jessie | OS Version | ||
Summary | 0000109: [b3aa7c6] Won't compile | ||||
Description | [ 94%] Building CXX object src/CMakeFiles/zdoom.dir/r_data/r_interpolate.cpp.o /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp: In function ‘void R_InitSpriteDefs()’: /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds] if (name[j] >= '0' && name[j] <= '9') ^ /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds] /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds] /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds] /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds] [ 94%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/thingdef.cpp.o [ 94%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/thingdef_data.cpp.o [ 94%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/thingdef_properties.cpp.o [ 94%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/codegeneration/codegen.cpp.o [ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/codegeneration/dynarrays.cpp.o [ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/decorate/olddecorations.cpp.o /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp: In function ‘void Handler_colormap_FFFfff_Inventory(AInventory*, PClassActor*, Baggage&, FPropParam*)’: /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:2180:50: warning: ‘BlendColor.PalEntry::<anonymous>.PalEntry::<anonymous union>::d’ may be used uninitialized in this function [-Wmaybe-uninitialized] defaults->ColorVar(NAME_BlendColor) = BlendColor; ^ In file included from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:42:0: /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./d_player.h: In function ‘void Handler_colorsetfile_ISSI_PlayerPawn(APlayerPawn*, PClassActor*, Baggage&, FPropParam*)’: /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./d_player.h:50:8: warning: ‘color.FPlayerColorSet::FirstColor’ may be used uninitialized in this function [-Wmaybe-uninitialized] struct FPlayerColorSet ^ /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:2391:18: note: ‘color.FPlayerColorSet::FirstColor’ was declared here FPlayerColorSet color; ^ In file included from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:42:0: /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./d_player.h:50:8: warning: ‘color.FPlayerColorSet::LastColor’ may be used uninitialized in this function [-Wmaybe-uninitialized] struct FPlayerColorSet ^ /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:2391:18: note: ‘color.FPlayerColorSet::LastColor’ was declared here FPlayerColorSet color; ^ [ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/decorate/thingdef_exp.cpp.o [ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/decorate/thingdef_parse.cpp.o [ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/decorate/thingdef_states.cpp.o [ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/vm/vmbuilder.cpp.o [ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/vm/vmdisasm.cpp.o In file included from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./doomtype.h:46:0, from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./dobject.h:38, from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/vm/vmdisasm.cpp:34: /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./zstring.h: In function ‘void VMDisasm(FILE*, const VMOP*, int, const VMScriptFunction*)’: /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./zstring.h:159:40: warning: ‘callfunc’ may be used uninitialized in this function [-Wmaybe-uninitialized] const char *GetChars() const { return Chars; } ^ /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/vm/vmdisasm.cpp:263:14: note: ‘callfunc’ was declared here VMFunction *callfunc; ^ [ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/vm/vmexec.cpp.o [ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/vm/vmframe.cpp.o [ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/zscript/ast.cpp.o [ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_compile.cpp.o /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/zscript/zcc_compile.cpp: In member function ‘bool ZCCCompiler::CompileFields(PStruct*, TArray<ZCC_VarDeclarator*>&, PClass*, PSymbolTable*, bool, bool)’: /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/zscript/zcc_compile.cpp:1039:43: error: conversion from ‘FName’ to non-scalar type ‘FString’ requested FString str = FName(field->Names[0].Name); ^ [ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_parser.cpp.o src/CMakeFiles/zdoom.dir/build.make:9301: recipe for target 'src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_compile.cpp.o' failed make[2]: *** [src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_compile.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:719: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2 Makefile:117: recipe for target 'all' failed make: *** [all] Error 2 | ||||
Tags | No tags attached. | ||||
Please use the `code` tag for the compiler messages. Anyway, the error is just this one:
'str' is not used, so it could be removed. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-01-23 12:32 | Matthew the Glutton | New Issue | |
2017-01-23 13:31 | Edward-san | Note Added: 0000218 | |
2017-01-23 16:06 | Graf Zahl | Status | new => resolved |
2017-01-23 16:06 | Graf Zahl | Resolution | open => fixed |
2017-01-23 16:07 | Edward-san | Assigned To | => _mental_ |