diff options
author | Neil <nyamatongwe@gmail.com> | 2024-11-26 08:19:54 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-11-26 08:19:54 +1100 |
commit | 1beb1d8b049d1bc998c513221ba758b633074d58 (patch) | |
tree | e88944887b68b4370734549c72170f61b04472c3 | |
parent | b1280b8651fce6be3e020ced53ecb5a17b59a7ab (diff) | |
download | scintilla-mirror-1beb1d8b049d1bc998c513221ba758b633074d58.tar.gz |
Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.
-rwxr-xr-x | gtk/PlatGTK.cxx | 1 | ||||
-rw-r--r-- | qt/ScintillaEditBase/PlatQt.h | 1 | ||||
-rw-r--r-- | qt/ScintillaEditBase/ScintillaEditBase.h | 1 | ||||
-rw-r--r-- | src/AutoComplete.cxx | 1 | ||||
-rw-r--r-- | src/CallTip.cxx | 1 | ||||
-rw-r--r-- | src/CellBuffer.cxx | 1 | ||||
-rw-r--r-- | src/ChangeHistory.cxx | 1 | ||||
-rw-r--r-- | src/Decoration.cxx | 1 | ||||
-rw-r--r-- | src/Document.cxx | 1 | ||||
-rw-r--r-- | src/Indicator.cxx | 1 | ||||
-rw-r--r-- | src/KeyMap.cxx | 1 | ||||
-rw-r--r-- | src/LineMarker.cxx | 1 | ||||
-rw-r--r-- | src/PerLine.cxx | 1 | ||||
-rw-r--r-- | src/Style.cxx | 2 | ||||
-rw-r--r-- | src/ViewStyle.cxx | 1 | ||||
-rw-r--r-- | src/XPM.cxx | 1 | ||||
-rw-r--r-- | test/unit/testCellBuffer.cxx | 1 | ||||
-rw-r--r-- | test/unit/testDocument.cxx | 1 | ||||
-rw-r--r-- | test/unit/testPerLine.cxx | 1 | ||||
-rw-r--r-- | test/unit/testRESearch.cxx | 1 | ||||
-rw-r--r-- | win32/PlatWin.cxx | 1 | ||||
-rw-r--r-- | win32/ScintillaDLL.cxx | 2 |
22 files changed, 24 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 8419521c9..0378cc44d 100755 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -5,6 +5,7 @@ #include <cstddef> #include <cstdlib> +#include <cstdint> #include <cstring> #include <cstdio> #include <cmath> diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index 0abbcaf28..08cda9dc4 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -12,6 +12,7 @@ #define PLATQT_H #include <cstddef> +#include <cstdint> #include <string> #include <string_view> diff --git a/qt/ScintillaEditBase/ScintillaEditBase.h b/qt/ScintillaEditBase/ScintillaEditBase.h index f4f0b0912..ba2d6ea9d 100644 --- a/qt/ScintillaEditBase/ScintillaEditBase.h +++ b/qt/ScintillaEditBase/ScintillaEditBase.h @@ -13,6 +13,7 @@ #define SCINTILLAEDITBASE_H #include <cstddef> +#include <cstdint> #include <string> #include <string_view> diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx index 2bf88aa23..7189adb3d 100644 --- a/src/AutoComplete.cxx +++ b/src/AutoComplete.cxx @@ -7,6 +7,7 @@ #include <cstddef> #include <cstdlib> +#include <cstdint> #include <cassert> #include <cstring> #include <cstdio> diff --git a/src/CallTip.cxx b/src/CallTip.cxx index a41ba9519..d35bec4ec 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -7,6 +7,7 @@ #include <cstddef> #include <cstdlib> +#include <cstdint> #include <cassert> #include <cstring> #include <cstdio> diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 4985517e0..643929352 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -7,6 +7,7 @@ #include <cstddef> #include <cstdlib> +#include <cstdint> #include <cassert> #include <cstring> #include <cstdio> diff --git a/src/ChangeHistory.cxx b/src/ChangeHistory.cxx index d6c93ae39..bd81e3341 100644 --- a/src/ChangeHistory.cxx +++ b/src/ChangeHistory.cxx @@ -7,6 +7,7 @@ #include <cstddef> #include <cstdlib> +#include <cstdint> #include <cassert> #include <stdexcept> diff --git a/src/Decoration.cxx b/src/Decoration.cxx index 8d901b9ec..dcd63bb33 100644 --- a/src/Decoration.cxx +++ b/src/Decoration.cxx @@ -6,6 +6,7 @@ #include <cstddef> #include <cstdlib> +#include <cstdint> #include <cstring> #include <cstdio> #include <cstdarg> diff --git a/src/Document.cxx b/src/Document.cxx index 0b34d5e73..188ae658f 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -7,6 +7,7 @@ #include <cstddef> #include <cstdlib> +#include <cstdint> #include <cassert> #include <cstring> #include <cstdio> diff --git a/src/Indicator.cxx b/src/Indicator.cxx index 5c15caeb6..0a8117f4f 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -5,6 +5,7 @@ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. +#include <cstdint> #include <cmath> #include <stdexcept> diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx index da4f242a4..010debdab 100644 --- a/src/KeyMap.cxx +++ b/src/KeyMap.cxx @@ -6,6 +6,7 @@ // The License.txt file describes the conditions under which this software may be distributed. #include <cstdlib> +#include <cstdint> #include <stdexcept> #include <string_view> diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index c13b2495d..0afa64f2b 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -5,6 +5,7 @@ // Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. +#include <cstdint> #include <cstring> #include <cmath> diff --git a/src/PerLine.cxx b/src/PerLine.cxx index b2e4530ea..b394b4973 100644 --- a/src/PerLine.cxx +++ b/src/PerLine.cxx @@ -6,6 +6,7 @@ // The License.txt file describes the conditions under which this software may be distributed. #include <cstddef> +#include <cstdint> #include <cassert> #include <cstring> diff --git a/src/Style.cxx b/src/Style.cxx index 228b3db74..2c78c5241 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -5,6 +5,8 @@ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. +#include <cstdint> + #include <stdexcept> #include <string_view> #include <vector> diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 921463931..92d084ee6 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -6,6 +6,7 @@ // The License.txt file describes the conditions under which this software may be distributed. #include <cstddef> +#include <cstdint> #include <cassert> #include <cstring> #include <cmath> diff --git a/src/XPM.cxx b/src/XPM.cxx index 57c401eed..13b508603 100644 --- a/src/XPM.cxx +++ b/src/XPM.cxx @@ -6,6 +6,7 @@ // The License.txt file describes the conditions under which this software may be distributed. #include <cstdlib> +#include <cstdint> #include <cstring> #include <climits> diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx index acd21d32e..affc5d7b6 100644 --- a/test/unit/testCellBuffer.cxx +++ b/test/unit/testCellBuffer.cxx @@ -3,6 +3,7 @@ **/ #include <cstddef> +#include <cstdint> #include <cassert> #include <cstring> #include <stdexcept> diff --git a/test/unit/testDocument.cxx b/test/unit/testDocument.cxx index 3266b0a9d..a80e83a3f 100644 --- a/test/unit/testDocument.cxx +++ b/test/unit/testDocument.cxx @@ -3,6 +3,7 @@ **/ #include <cstddef> +#include <cstdint> #include <cstring> #include <stdexcept> #include <string_view> diff --git a/test/unit/testPerLine.cxx b/test/unit/testPerLine.cxx index 47a60ce90..f33d1ab53 100644 --- a/test/unit/testPerLine.cxx +++ b/test/unit/testPerLine.cxx @@ -3,6 +3,7 @@ **/ #include <cstddef> +#include <cstdint> #include <cstring> #include <stdexcept> #include <string_view> diff --git a/test/unit/testRESearch.cxx b/test/unit/testRESearch.cxx index 4e041d47c..cc356e796 100644 --- a/test/unit/testRESearch.cxx +++ b/test/unit/testRESearch.cxx @@ -3,6 +3,7 @@ **/ #include <cstddef> +#include <cstdint> #include <cstring> #include <stdexcept> #include <string> diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 176acab10..30a066083 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -7,6 +7,7 @@ #include <cstddef> #include <cstdlib> +#include <cstdint> #include <cstring> #include <cstdio> #include <cstdarg> diff --git a/win32/ScintillaDLL.cxx b/win32/ScintillaDLL.cxx index 3e448d848..ca2c91add 100644 --- a/win32/ScintillaDLL.cxx +++ b/win32/ScintillaDLL.cxx @@ -5,6 +5,8 @@ // Copyright 1998-2018 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. +#include <cstdint> + #undef _WIN32_WINNT #define _WIN32_WINNT 0x0500 #undef WINVER |