[scintilla:bugs] #2493 GCC 15/Qt - ScintillaTypes.h: error: ‘intptr_t’ does not name a type

0 views
Skip to first unread message

Stefan Löffler

unread,
Dec 26, 2025, 11:09:06 AM (14 days ago) 12/26/25
to scintill...@googlegroups.com

**[bugs:#2493] GCC 15/Qt - ScintillaTypes.h: error: ‘intptr_t’ does not name a type **

Status: open
Group: Bug
Created: Fri Dec 26, 2025 04:09 PM UTC by Stefan Löffler
Last Updated: Fri Dec 26, 2025 04:09 PM UTC
Owner: nobody

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"

Sent from sourceforge.net because scintill...@googlegroups.com is subscribed to https://sourceforge.net/p/scintilla/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/scintilla/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

Neil Hodgson

unread,
Dec 26, 2025, 7:06:25 PM (14 days ago) 12/26/25
to scintill...@googlegroups.com
  • labels: --> scintilla, Qt
  • status: open --> open-fixed
  • Comment:

Committed with [0b6476].

Original issue was [#2458].


**[bugs:#2493] GCC 15/Qt - ScintillaTypes.h: error: ‘intptr_t’ does not name a type **

Status: open-fixed
Group: Bug
Labels: scintilla Qt

Created: Fri Dec 26, 2025 04:09 PM UTC by Stefan Löffler
Last Updated: Fri Dec 26, 2025 04:09 PM UTC
Owner: nobody

Reply all
Reply to author
Forward
0 new messages