Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix building with GCC 14 #223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libaegisub/ass/uuencode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <libaegisub/ass/uuencode.h>

#include <algorithm>
#include <cstring>

// Despite being called uuencoding by ass_specs.doc, the format is actually
// somewhat different from real uuencoding. Each 3-byte chunk is split into 4
Expand Down
1 change: 1 addition & 0 deletions libaegisub/audio/provider_dummy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include "libaegisub/fs.h"

#include <cstring>
#include <random>

/*
Expand Down
1 change: 1 addition & 0 deletions libaegisub/common/cajun/reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Author: Terry Caton

#include "libaegisub/cajun/reader.h"

#include <algorithm>
#include <boost/interprocess/streams/bufferstream.hpp>
#include <cassert>

Expand Down
1 change: 1 addition & 0 deletions libaegisub/common/calltip_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "libaegisub/ass/dialogue_parser.h"

#include <algorithm>
#include <cstring>

namespace {
struct proto_lit {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/common/mru.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include "libaegisub/option.h"
#include "libaegisub/option_value.h"

#include <algorithm>

namespace {
std::string_view mru_names[] = {
"Audio",
Expand Down
1 change: 1 addition & 0 deletions libaegisub/common/option.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "libaegisub/log.h"
#include "libaegisub/option_value.h"

#include <algorithm>
#include <boost/interprocess/streams/bufferstream.hpp>
#include <cassert>
#include <memory>
Expand Down
1 change: 1 addition & 0 deletions libaegisub/common/thesaurus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "libaegisub/line_iterator.h"
#include "libaegisub/split.h"

#include <algorithm>
#include <boost/interprocess/streams/bufferstream.hpp>

namespace agi {
Expand Down
1 change: 1 addition & 0 deletions libaegisub/include/libaegisub/lua/ffi.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <libaegisub/type_name.h>

#include <cstdlib>
#include <cstring>
#include <lua.hpp>

namespace agi::lua {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/unix/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#include "../acconf.h"

#include <libaegisub/path.h>

#include <libaegisub/exception.h>
Expand Down
2 changes: 2 additions & 0 deletions src/aegisublocale.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
/// @ingroup utility
///

#include "acconf.h"

#include "aegisublocale.h"

#include "compat.h"
Expand Down
1 change: 1 addition & 0 deletions src/ass_style.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <libaegisub/format.h>
#include <libaegisub/split.h>

#include <algorithm>
#include <boost/lexical_cast.hpp>
#include <wx/intl.h>

Expand Down
1 change: 1 addition & 0 deletions src/audio_timing_dialogue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include <libaegisub/ass/time.h>

#include <boost/range/algorithm.hpp>
#include <list>
#include <wx/pen.h>

namespace {
Expand Down
2 changes: 2 additions & 0 deletions src/base_grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include <memory>
#include <string>
#include <vector>
#include <wx/brush.h>
#include <wx/scrolbar.h>
#include <wx/window.h>

namespace agi {
Expand Down
1 change: 1 addition & 0 deletions src/command/command.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/// @ingroup command

#include <map>
#include <memory>
#include <string>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions src/dialog_colorpicker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

#include <libaegisub/scoped_ptr.h>

#include <algorithm>
#include <memory>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions src/frame_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
#include <wx/sizer.h>
#include <wx/statline.h>
#include <wx/sysopt.h>
#include <wx/toolbar.h>

enum {
ID_APP_TIMER_STATUSCLEAR = 12002
Expand Down
2 changes: 2 additions & 0 deletions src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

#include "aegisublocale.h"

#include <vector>

#ifndef wxUSE_EXCEPTIONS
#error wxWidgets is compiled without exceptions support. Aegisub requires exceptions support in wxWidgets to run safely.
#endif
Expand Down
1 change: 1 addition & 0 deletions src/preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@

#include <wx/checkbox.h>
#include <wx/combobox.h>
#include <wx/dc.h>
#include <wx/event.h>
#include <wx/listctrl.h>
#include <wx/msgdlg.h>
Expand Down
1 change: 1 addition & 0 deletions src/spline_curve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "spline_curve.h"
#include "utils.h"

#include <algorithm>
#include <limits>

SplineCurve::SplineCurve(Vector2D p1) : p1(p1), type(POINT) { }
Expand Down
1 change: 1 addition & 0 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#ifdef __UNIX__
#include <unistd.h>
#endif
#include <algorithm>
#include <map>
#include <unicode/locid.h>
#include <unicode/unistr.h>
Expand Down
Loading