Skip to content

Commit

Permalink
Merge David Seifert's 'gcc-15-includes' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Nov 3, 2024
2 parents 274c033 + c06bc18 commit d0d1c82
Show file tree
Hide file tree
Showing 38 changed files with 36 additions and 2 deletions.
1 change: 1 addition & 0 deletions bindings/guile/gnc-kvp-guile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <kvp-frame.hpp>
#include <libguile.h>
#include <numeric>
#include <cstdint>

#include <config.h>

Expand Down
1 change: 1 addition & 0 deletions gnucash/gnome-utils/gnc-option-gtk-ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "gnc-option-gtk-ui.hpp"
#include <config.h> // for scanf format string
#include <memory>
#include <cstdint>
#include <qof.h>
#include <gnc-engine.h> // for GNC_MOD_GUI
#include <gnc-commodity.h> // for GNC_COMMODITY
Expand Down
1 change: 1 addition & 0 deletions gnucash/gnome-utils/test/test-autoclear.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
// GoogleTest is written in C++, however, the function we test in C.
#include "../gnc-autoclear.h"
#include <memory>
#include <cstdint>
#include <Account.h>
#include <Split.h>
#include <gtest/gtest.h>
Expand Down
1 change: 1 addition & 0 deletions gnucash/import-export/aqb/assistant-ab-initial.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
#endif
#include <fcntl.h>
#include <unistd.h>
#include <stdint.h>

#include "dialog-utils.h"
#include "assistant-ab-initial.h"
Expand Down
1 change: 1 addition & 0 deletions gnucash/import-export/aqb/gnc-gwen-gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <config.h>

#include <ctype.h>
#include <stdint.h>
#include <glib/gi18n.h>
#include <gwenhywfar/gui_be.h>
#include <gwenhywfar/inherit.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <stdlib.h>
#include <cstdint>

#include "gnc-ui.h"
#include "gnc-uri-utils.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <glib/gi18n.h>
#include <stdexcept>
#include <stdlib.h>
#include <cstdint>

#include "gnc-path.h"
#include "gnc-ui.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <sstream>
#include <string>
#include <vector>
#include <cstdint>

#include <config.h>

Expand Down
1 change: 1 addition & 0 deletions gnucash/import-export/csv-imp/gnc-imp-settings-csv-tx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <sstream>
#include <string>
#include <vector>
#include <cstdint>

#include <config.h>

Expand Down
1 change: 1 addition & 0 deletions gnucash/import-export/csv-imp/gnc-imp-settings-csv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <string>
#include <vector>
#include <optional>
#include <cstdint>
#include <gnc-datetime.hpp>
#include "gnc-tokenizer.hpp"

Expand Down
1 change: 1 addition & 0 deletions gnucash/import-export/csv-imp/gnc-import-price.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <map>
#include <memory>
#include <optional>
#include <cstdint>

#include "gnc-tokenizer.hpp"
#include "gnc-imp-props-price.hpp"
Expand Down
1 change: 1 addition & 0 deletions gnucash/import-export/csv-imp/gnc-import-tx.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <map>
#include <memory>
#include <optional>
#include <cstdint>

#include "gnc-tokenizer.hpp"
#include "gnc-imp-props-tx.hpp"
Expand Down
1 change: 1 addition & 0 deletions gnucash/import-export/csv-imp/gnc-tokenizer-fw.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <fstream> // fstream
#include <vector>
#include <string>
#include <cstdint>
#include "gnc-tokenizer.hpp"

class GncFwTokenizer : public GncTokenizer
Expand Down
1 change: 1 addition & 0 deletions libgnucash/app-utils/test/test-print-parse-amount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <config.h>
#include <stdlib.h>
#include <cstdint>

#include "gnc-ui-util.h"
#include "gnc-numeric.h"
Expand Down
1 change: 1 addition & 0 deletions libgnucash/backend/dbi/gnc-dbisqlresult.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#define __GNC_DBISQLBACKEND_HPP__

#include <optional>
#include <cstdint>

#include "gnc-backend-dbi.h"
#include <gnc-sql-result.hpp>
Expand Down
1 change: 1 addition & 0 deletions libgnucash/backend/sql/gnc-slots-sql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

#include <string>
#include <sstream>
#include <cstdint>

#include "gnc-sql-connection.hpp"
#include "gnc-sql-backend.hpp"
Expand Down
1 change: 1 addition & 0 deletions libgnucash/backend/sql/gnc-sql-column-table-entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <qof.h>
#include <sstream>
#include <iomanip>
#include <cstdint>
#include <gnc-datetime.hpp>
#include "gnc-sql-backend.hpp"
#include "gnc-sql-object-backend.hpp"
Expand Down
1 change: 1 addition & 0 deletions libgnucash/backend/sql/test/utest-gnc-backend-sql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <glib.h>

#include <config.h>
#include <cstdint>
#include <string.h>
#include <unittest-support.h>
/* Add specific headers for this class */
Expand Down
1 change: 1 addition & 0 deletions libgnucash/backend/xml/io-gncxml-v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#endif
#include <zlib.h>
#include <errno.h>
#include <cstdint>

#include "gnc-engine.h"
#include "gnc-pricedb-p.h"
Expand Down
1 change: 1 addition & 0 deletions libgnucash/backend/xml/sixtp-dom-generators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <config.h>

#include <gnc-date.h>
#include <cstdint>

#include "gnc-xml-helper.h"
#include "sixtp-dom-generators.h"
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/gnc-numeric.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <iostream>
#include <locale>
#include <typeinfo> // For std::bad_cast exception
#include <cstdint>
#include "gnc-rational-rounding.hpp"

class GncRational;
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/gnc-option-impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#include <variant>
#include <iostream>
#include <limits>
#include <cstdint>

#include "gnc-option-uitype.hpp"

Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/gnc-option.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include <variant>
#include <memory>
#include <tuple>
#include <cstdint>
#include "gnc-option-ui.hpp"
#include "gnc-option-date.hpp"
#include "guid.hpp"
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/gnc-optiondb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <exception>
#include <optional>
#include <iostream>
#include <cstdint>

#include <config.h>
#include "Account.h"
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/gnc-rational.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*******************************************************************/

#include <sstream>
#include <cstdint>
#include "gnc-rational.hpp"
#include "gnc-numeric.hpp"

Expand Down
1 change: 0 additions & 1 deletion libgnucash/engine/gncInvoice.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

#include <config.h>

#include <stdint.h>
#include <inttypes.h>
#include <glib.h>
#include <glib/gi18n.h>
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/kvp-frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <cstdint>

#include "kvp-value.hpp"
#include "kvp-frame.hpp"
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/kvp-value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <config.h>
#include "qof.h"

#include <cstdint>
#include <boost/variant.hpp>

//Must be a struct because it's exposed to C so that it can in turn be
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/qofinstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <config.h>
#include <glib.h>

#include <cstdint>
#include <utility>
#include "qof.h"
#include "qofbook-p.h"
Expand Down
1 change: 0 additions & 1 deletion libgnucash/engine/test-core/test-engine-stuff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
#include <fcntl.h>
#include <glib.h>
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/test/gtest-gnc-int128.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*******************************************************************/

#include <gtest/gtest.h>
#include <cstdint>
#include "../gnc-int128.hpp"

TEST(GncInt128_constructors, test_default_constructor)
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/test/gtest-gnc-numeric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
\********************************************************************/

#include <gtest/gtest.h>
#include <cstdint>
#include "../gnc-numeric.hpp"
#include "../gnc-rational.hpp"

Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/test/gtest-gnc-option.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "gnc-commodity.h"
#include "gnc-date.h"
#include <time.h>
#include <cstdint>
#include "gnc-session.h"

TEST(GncOption, test_string_ctor)
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/test/gtest-gnc-optiondb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "gnc-option-ui.hpp"
#include "kvp-value.hpp"
#include <glib-2.0/glib.h>
#include <cstdint>

#include "gnc-session.h"

Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/test/gtest-gnc-rational.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <gtest/gtest.h>
#include <random>
#include <cstdint>
#include "../gnc-rational.hpp"
#include "../gnc-numeric.hpp" //for RoundType

Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/test/gtest-import-map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <kvp-frame.hpp>
#include <gtest/gtest.h>
#include <string>
#include <cstdint>

class ImapTest : public testing::Test
{
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/test/test-kvp-frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "../kvp-frame.hpp"
#include <gtest/gtest.h>
#include <algorithm>
#include <cstdint>

class KvpFrameTest : public ::testing::Test
{
Expand Down
1 change: 1 addition & 0 deletions libgnucash/engine/test/test-kvp-value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "../kvp-frame.hpp"
#include "../gnc-date.h"
#include <memory>
#include <cstdint>
#include <gtest/gtest.h>

TEST (KvpValueTest, Equality)
Expand Down

0 comments on commit d0d1c82

Please sign in to comment.