When trying to compile the Qt version (qt/ScintillaEdit) with GCC 15.2.0 on Ubuntu 25.10, there's several errors, starting with
In file included from ScintillaDocument.cpp:13:
../../include/ScintillaTypes.h:700:18: error: ‘intptr_t’ does not name a type
This seems to be related to #2458 / c7ffad where this one files seems to have been missed.
The following patched fixed the issue for me:
--- a/qt/ScintillaEdit/ScintillaDocument.cpp Mon Dec 22 09:04:53 2025 +1100
+++ b/qt/ScintillaEdit/ScintillaDocument.cpp Fri Dec 26 17:06:15 2025 +0100
@@ -9,6 +9,7 @@
#include <set>
#include <optional>
#include <memory>
+#include <cstdint>
#include "ScintillaTypes.h"
#include "ScintillaMessages.h"
Committed with [0b6476].
Original issue was [#2458].
Related
Bugs:
#2458Commit: [0b6476]
Maybe the correct fix is to add the
#include <cstdint>toScintillaTypes.hinstead ofScintillaDocument.cpp? SinceScintillaTypes.his the place we actually requireuintptr_tandintptr_t.Last edit: Gary Wang 2026-02-13
Scintilla tries to avoid complex buggy nests of header dependencies by not using
#includeinside header files and specifying a global order of inclusion inscripts/HeaderOrder.txt.