mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-21 16:38:06 -06:00
Add missing #include <cstdint>
* GCC 15 has reduced transitive dependencies between headers. Bug: https://bugs.gentoo.org/939856
This commit is contained in:
parent
274c033bab
commit
c06bc18dc4
@ -2,6 +2,7 @@
|
|||||||
#include <kvp-frame.hpp>
|
#include <kvp-frame.hpp>
|
||||||
#include <libguile.h>
|
#include <libguile.h>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "gnc-option-gtk-ui.hpp"
|
#include "gnc-option-gtk-ui.hpp"
|
||||||
#include <config.h> // for scanf format string
|
#include <config.h> // for scanf format string
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <cstdint>
|
||||||
#include <qof.h>
|
#include <qof.h>
|
||||||
#include <gnc-engine.h> // for GNC_MOD_GUI
|
#include <gnc-engine.h> // for GNC_MOD_GUI
|
||||||
#include <gnc-commodity.h> // for GNC_COMMODITY
|
#include <gnc-commodity.h> // for GNC_COMMODITY
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
// GoogleTest is written in C++, however, the function we test in C.
|
// GoogleTest is written in C++, however, the function we test in C.
|
||||||
#include "../gnc-autoclear.h"
|
#include "../gnc-autoclear.h"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <cstdint>
|
||||||
#include <Account.h>
|
#include <Account.h>
|
||||||
#include <Split.h>
|
#include <Split.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
@ -51,6 +51,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "dialog-utils.h"
|
#include "dialog-utils.h"
|
||||||
#include "assistant-ab-initial.h"
|
#include "assistant-ab-initial.h"
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <gwenhywfar/gui_be.h>
|
#include <gwenhywfar/gui_be.h>
|
||||||
#include <gwenhywfar/inherit.h>
|
#include <gwenhywfar/inherit.h>
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-ui.h"
|
#include "gnc-ui.h"
|
||||||
#include "gnc-uri-utils.h"
|
#include "gnc-uri-utils.h"
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-path.h"
|
#include "gnc-path.h"
|
||||||
#include "gnc-ui.h"
|
#include "gnc-ui.h"
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
#include <cstdint>
|
||||||
#include <gnc-datetime.hpp>
|
#include <gnc-datetime.hpp>
|
||||||
#include "gnc-tokenizer.hpp"
|
#include "gnc-tokenizer.hpp"
|
||||||
|
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-tokenizer.hpp"
|
#include "gnc-tokenizer.hpp"
|
||||||
#include "gnc-imp-props-price.hpp"
|
#include "gnc-imp-props-price.hpp"
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-tokenizer.hpp"
|
#include "gnc-tokenizer.hpp"
|
||||||
#include "gnc-imp-props-tx.hpp"
|
#include "gnc-imp-props-tx.hpp"
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
#include <fstream> // fstream
|
#include <fstream> // fstream
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <cstdint>
|
||||||
#include "gnc-tokenizer.hpp"
|
#include "gnc-tokenizer.hpp"
|
||||||
|
|
||||||
class GncFwTokenizer : public GncTokenizer
|
class GncFwTokenizer : public GncTokenizer
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-ui-util.h"
|
#include "gnc-ui-util.h"
|
||||||
#include "gnc-numeric.h"
|
#include "gnc-numeric.h"
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#define __GNC_DBISQLBACKEND_HPP__
|
#define __GNC_DBISQLBACKEND_HPP__
|
||||||
|
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-backend-dbi.h"
|
#include "gnc-backend-dbi.h"
|
||||||
#include <gnc-sql-result.hpp>
|
#include <gnc-sql-result.hpp>
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-sql-connection.hpp"
|
#include "gnc-sql-connection.hpp"
|
||||||
#include "gnc-sql-backend.hpp"
|
#include "gnc-sql-backend.hpp"
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <qof.h>
|
#include <qof.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
#include <cstdint>
|
||||||
#include <gnc-datetime.hpp>
|
#include <gnc-datetime.hpp>
|
||||||
#include "gnc-sql-backend.hpp"
|
#include "gnc-sql-backend.hpp"
|
||||||
#include "gnc-sql-object-backend.hpp"
|
#include "gnc-sql-object-backend.hpp"
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
#include <cstdint>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unittest-support.h>
|
#include <unittest-support.h>
|
||||||
/* Add specific headers for this class */
|
/* Add specific headers for this class */
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-engine.h"
|
#include "gnc-engine.h"
|
||||||
#include "gnc-pricedb-p.h"
|
#include "gnc-pricedb-p.h"
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <gnc-date.h>
|
#include <gnc-date.h>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-xml-helper.h"
|
#include "gnc-xml-helper.h"
|
||||||
#include "sixtp-dom-generators.h"
|
#include "sixtp-dom-generators.h"
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
#include <typeinfo> // For std::bad_cast exception
|
#include <typeinfo> // For std::bad_cast exception
|
||||||
|
#include <cstdint>
|
||||||
#include "gnc-rational-rounding.hpp"
|
#include "gnc-rational-rounding.hpp"
|
||||||
|
|
||||||
class GncRational;
|
class GncRational;
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
#include <variant>
|
#include <variant>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-option-uitype.hpp"
|
#include "gnc-option-uitype.hpp"
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
#include <variant>
|
#include <variant>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
#include <cstdint>
|
||||||
#include "gnc-option-ui.hpp"
|
#include "gnc-option-ui.hpp"
|
||||||
#include "gnc-option-date.hpp"
|
#include "gnc-option-date.hpp"
|
||||||
#include "guid.hpp"
|
#include "guid.hpp"
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
#include <exception>
|
#include <exception>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include "Account.h"
|
#include "Account.h"
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
*******************************************************************/
|
*******************************************************************/
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <cstdint>
|
||||||
#include "gnc-rational.hpp"
|
#include "gnc-rational.hpp"
|
||||||
#include "gnc-numeric.hpp"
|
#include "gnc-numeric.hpp"
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "kvp-value.hpp"
|
#include "kvp-value.hpp"
|
||||||
#include "kvp-frame.hpp"
|
#include "kvp-frame.hpp"
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include "qof.h"
|
#include "qof.h"
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <boost/variant.hpp>
|
#include <boost/variant.hpp>
|
||||||
|
|
||||||
//Must be a struct because it's exposed to C so that it can in turn be
|
//Must be a struct because it's exposed to C so that it can in turn be
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include "qof.h"
|
#include "qof.h"
|
||||||
#include "qofbook-p.h"
|
#include "qofbook-p.h"
|
||||||
|
@ -47,7 +47,6 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
*******************************************************************/
|
*******************************************************************/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
#include <cstdint>
|
||||||
#include "../gnc-int128.hpp"
|
#include "../gnc-int128.hpp"
|
||||||
|
|
||||||
TEST(GncInt128_constructors, test_default_constructor)
|
TEST(GncInt128_constructors, test_default_constructor)
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
\********************************************************************/
|
\********************************************************************/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
#include <cstdint>
|
||||||
#include "../gnc-numeric.hpp"
|
#include "../gnc-numeric.hpp"
|
||||||
#include "../gnc-rational.hpp"
|
#include "../gnc-rational.hpp"
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include "gnc-commodity.h"
|
#include "gnc-commodity.h"
|
||||||
#include "gnc-date.h"
|
#include "gnc-date.h"
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <cstdint>
|
||||||
#include "gnc-session.h"
|
#include "gnc-session.h"
|
||||||
|
|
||||||
TEST(GncOption, test_string_ctor)
|
TEST(GncOption, test_string_ctor)
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include "gnc-option-ui.hpp"
|
#include "gnc-option-ui.hpp"
|
||||||
#include "kvp-value.hpp"
|
#include "kvp-value.hpp"
|
||||||
#include <glib-2.0/glib.h>
|
#include <glib-2.0/glib.h>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "gnc-session.h"
|
#include "gnc-session.h"
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <random>
|
#include <random>
|
||||||
|
#include <cstdint>
|
||||||
#include "../gnc-rational.hpp"
|
#include "../gnc-rational.hpp"
|
||||||
#include "../gnc-numeric.hpp" //for RoundType
|
#include "../gnc-numeric.hpp" //for RoundType
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <kvp-frame.hpp>
|
#include <kvp-frame.hpp>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
class ImapTest : public testing::Test
|
class ImapTest : public testing::Test
|
||||||
{
|
{
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include "../kvp-frame.hpp"
|
#include "../kvp-frame.hpp"
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
class KvpFrameTest : public ::testing::Test
|
class KvpFrameTest : public ::testing::Test
|
||||||
{
|
{
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include "../kvp-frame.hpp"
|
#include "../kvp-frame.hpp"
|
||||||
#include "../gnc-date.h"
|
#include "../gnc-date.h"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <cstdint>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
TEST (KvpValueTest, Equality)
|
TEST (KvpValueTest, Equality)
|
||||||
|
Loading…
Reference in New Issue
Block a user