Opened 7 years ago

Closed 7 years ago

#4468 closed defect (fixed)

GCC 6 warning in ArchiveWriter_Zip destructor

Reported by: Stan Owned by:
Priority: Should Have Milestone: Alpha 22
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by Sandarac)

When building the game on Kubuntu 16.10 with I believe gcc 6.20 i get the following warning

CGUIScrollBarVertical.cpp
../../../source/lib/file/archive/archive_zip.cpp: In destructor ‘virtual ArchiveWriter_Zip::~ArchiveWriter_Zip()’:
../../../source/lib/file/archive/archive_zip.cpp:603:25: warning: throw will always call terminate() [-Wterminate]
    throw std::bad_alloc();
                         ^
../../../source/lib/file/archive/archive_zip.cpp:603:25: note: in C++11 destructors default to noexcept
Register.cpp

Change History (1)

comment:1 by Sandarac, 7 years ago

Component: UI & SimulationCore engine
Description: modified (diff)
Milestone: BacklogAlpha 22
Resolution: fixed
Status: newclosed
Summary: GCC warnings for CGUIScrollBarVerticalGCC 6 warning in ArchiveWriter_Zip destructor
Note: See TracTickets for help on using tickets.