Skip to content

Comments

Include cstdin in scintilla for GCC15 compatibility#670

Merged
dail8859 merged 1 commit intodail8859:masterfrom
SigHunter:master
Nov 28, 2024
Merged

Include cstdin in scintilla for GCC15 compatibility#670
dail8859 merged 1 commit intodail8859:masterfrom
SigHunter:master

Conversation

@SigHunter
Copy link
Contributor

I had to add cstdin in 3 places to make it compile successfully with the upcoming gcc15, because cstdin is not automatically included anymore. Reference: https://gcc.gnu.org/gcc-15/porting_to.html and https://sourceforge.net/p/scintilla/bugs/2458/

I am no expert, so I don't know what style guidelines are custom for the placement of those includes. If necessary, I can adapt the commits. Let me know what you think, thanks

The corresponding bug report is #669

@dail8859
Copy link
Owner

Normally I leave any of the Scintilla stuff completely unmodified but willing to merge in these minor changes knowing that the upstream Scintilla project will include these soon.

I would also make sure the Scintilla bug report knows about the other place you had to include the header for the qt specific files.

@dail8859
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NotepadNext 0.9 does not build against upcoming GCC 15

2 participants