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

1 view
Skip to first unread message

Chris Mayo

unread,
Nov 25, 2024, 2:25:14 PM11/25/24
to scintill...@googlegroups.com

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

Status: open
Group: Bug
Created: Mon Nov 25, 2024 07:25 PM UTC by Chris Mayo
Last Updated: Mon Nov 25, 2024 07:25 PM UTC
Owner: nobody

GCC 15 (in development, general bugfixing) will no longer include cstdint in the C++ Standard Library headers

https://gcc.gnu.org/gcc-15/porting_to.html

Fixed for me by:

--- a/include/ScintillaTypes.h
+++ b/include/ScintillaTypes.h
@@ -11,6 +11,8 @@
 #ifndef SCINTILLATYPES_H
 #define SCINTILLATYPES_H

+#include <cstdint>
+
 namespace Scintilla {

 // Enumerations

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,
Nov 25, 2024, 5:07:55 PM11/25/24
to scintill...@googlegroups.com

Added inclusion of cstdint in files that appear to be exposed. Since I don't have GCC 15, I can't check this currently.

Chris Mayo

unread,
Nov 26, 2024, 2:33:51 PM11/26/24
to scintill...@googlegroups.com

Thanks. c7ffad also works for me on top of SciTE 5.5.3 on Linux GTK with GCC 15.


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

Status: open
Group: Bug
Created: Mon Nov 25, 2024 07:25 PM UTC by Chris Mayo

Last Updated: Mon Nov 25, 2024 10:07 PM UTC
Owner: nobody

Neil Hodgson

unread,
Dec 17, 2024, 7:30:10 PM12/17/24
to scintill...@googlegroups.com
  • labels: --> Scintilla
  • status: open --> closed-fixed

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

Status: closed-fixed
Group: Bug
Labels: Scintilla

Created: Mon Nov 25, 2024 07:25 PM UTC by Chris Mayo

Last Updated: Tue Nov 26, 2024 07:33 PM UTC
Owner: nobody

Neil Hodgson

unread,
Dec 26, 2025, 5:10:04 PM (14 days ago) 12/26/25
to scintill...@googlegroups.com

Change is [c7ffad].


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

Status: closed-fixed
Group: Bug
Labels: Scintilla

Created: Mon Nov 25, 2024 07:25 PM UTC by Chris Mayo

Last Updated: Wed Dec 18, 2024 12:30 AM UTC
Owner: nobody

Reply all
Reply to author
Forward
0 new messages