[LyX/master] Fix compilation on gcc-15
Scott Kostyshak
skostysh at lyx.org
Fri Jan 17 09:08:56 UTC 2025
(next time) please put the warning/error output that GCC gives you in the commit message.
This way, when I am bisecting and I see that error, I can search in the LyX log and I know which commit I need to cherry-pick.
Thanks for the fix.
Scott
On Fri, Jan 17, 2025 at 07:40:05AM +0000, José Matos wrote:
> commit 527d3d669cf60d306f6c6a08a880fa4609df2262
> Author: José Matos <jamatos at lyx.org>
> Date: Fri Jan 17 07:39:51 2025 +0000
>
> Fix compilation on gcc-15
>
> Suggested by gcc itself. :-)
> ---
> src/mathed/MathParser.cpp | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/mathed/MathParser.cpp b/src/mathed/MathParser.cpp
> index eb4339c8ea..1c79aea592 100644
> --- a/src/mathed/MathParser.cpp
> +++ b/src/mathed/MathParser.cpp
> @@ -78,6 +78,7 @@ following hack as starting point to write some macros:
> #include "support/docstream.h"
> #include "support/Lexer.h"
>
> +#include <cstdint>
> #include <sstream>
>
> //#define FILEDEBUG
> --
> lyx-cvs mailing list
> lyx-cvs at lists.lyx.org
> https://lists.lyx.org/mailman/listinfo/lyx-cvs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250117/1aef3b8e/attachment.sig>
More information about the lyx-devel
mailing list