View Issue Details

IDProjectCategoryView StatusLast Update
0000293Gameplay + OpenGL[All Projects] Bugpublic2017-02-18 02:37
ReporterMatthew the Glutton 
Assigned To_mental_ 
PrioritynormalSeverityblockReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformDebian JessieOSOS Version
Summary0000293: [013e52fa] won't compile
Description[ 92%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_parse.cpp.o
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_oper.cpp:46:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
[ 92%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_prepro.cpp.o
[ 92%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_script.cpp.o
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_parse.cpp:48:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_prepro.cpp:56:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.cpp:48:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
[ 92%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_spec.cpp.o
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_variable.cpp.o
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_cmd.cpp.o
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/r_data/sprites.cpp.o
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_spec.cpp:44:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_variable.cpp:55:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_local.h:27,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_cmd.cpp:43:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/r_data/voxels.cpp.o
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/r_data/renderstyle.cpp.o
[ 93%] In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/sprites.cpp:2:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
Building CXX object src/CMakeFiles/zdoom.dir/r_data/r_interpolate.cpp.o
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/sprites.cpp: In function ‘void R_InitSkins()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/sprites.cpp:805:86: error: cannot pass objects of non-trivially-copyable type ‘class FString’ through ‘...’
      Printf (PRINT_BOLD, "Skin %s (#%u) has no frames. Removing.\n", Skins[i].Name, i);
                                                                                      ^
src/CMakeFiles/zdoom.dir/build.make:8841: recipe for target 'src/CMakeFiles/zdoom.dir/r_data/sprites.cpp.o' failed
make[2]: *** [src/CMakeFiles/zdoom.dir/r_data/sprites.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./c_cvars.h:37,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/renderstyle.cpp:37:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./dobject.h:38,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./m_argv.h:37,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/voxels.cpp:42:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_3dmidtex.h:5,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/r_interpolate.cpp:36:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
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
TagsNo tags attached.

Relationships

Activities

_mental_

_mental_

2017-02-18 02:37

developer   ~0000647

Fixed in 0ffd475.

Looks like we need to setup Travis CI or any other free continuous integration platform that supports Linux/Mac targets.

Issue History

Date Modified Username Field Change
2017-02-17 23:25 Matthew the Glutton New Issue
2017-02-18 02:37 _mental_ Assigned To => _mental_
2017-02-18 02:37 _mental_ Status new => resolved
2017-02-18 02:37 _mental_ Resolution open => fixed
2017-02-18 02:37 _mental_ Note Added: 0000647