[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.
Added inclusion of cstdint in files that appear to be exposed. Since I don't have GCC 15, I can't check this currently.
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
[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
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