Missing header using gcc-13

José Abílio Matos jamatos at lyx.org
Wed Jun 22 10:00:18 UTC 2022


Hi,
  just for fun, I have been compiling lyx with gcc-latest (gcc 13 in development). This is the error I get:

/home/jamatos/lyx/lyx.anon/src/tex2lyx/Parser.cpp: In member function ‘void lyx::Parser::tokenize_one()’:
/home/jamatos/lyx/lyx.anon/src/tex2lyx/Parser.cpp:857:60: error: ‘uint32_t’ does not name a type
857 |                 cerr << "ignoring a char: " << static_cast<uint32_t>(c) << "\n";
|                                                            ^~~~~~~~
/home/jamatos/lyx/lyx.anon/src/tex2lyx/Parser.cpp:20:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
19 | #include <iostream>
+++ |+#include <cstdint>
20 | 

This is the only problem found, other than that everything works as expected. :-)

-- 
José Abílio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220622/3f813906/attachment.html>


More information about the lyx-devel mailing list