https://bugs.documentfoundation.org/show_bug.cgi?id=171385
Bug ID: 171385
Summary: Libreoffice-26.2.1.2 fails to build with GCC 16 with
error: ‘uint8_t’ was not declared in this scope
Product: LibreOffice
Version: 26.2.1.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: filters and storage
Assignee: [email protected]
Reporter: [email protected]
Created attachment 206266
--> https://bugs.documentfoundation.org/attachment.cgi?id=206266&action=edit
build.log
Per the above.
I am running an up to date x86_64 system on Gentoo linux with a Gnome/systemd
stack and the pg_overlay with the current build.
Appears to be in the pdf component.
I have attached a build.log and emerge --info files which should assist.
Libreoffice fails to build with:
In file included from
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/vcl/source/filter/ipdf/pdfcompat.cxx:14:
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:62:42:
error: ‘uint8_t’ was not declared in this scope
62 | virtual bool getFontData(std::vector<uint8_t>& rData) const = 0;
| ^~~~~~~
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:39:1:
note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by
adding ‘#include <cstdint>’
38 | #include <vcl/pdf/PDFAnnotAActionType.hxx>
+++ |+#include <cstdint>
39 |
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:62:49:
error: template argument 1 is invalid
62 | virtual bool getFontData(std::vector<uint8_t>& rData) const = 0;
| ^
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:62:49:
error: template argument 2 is invalid
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:62:50:
error: expected identifier before ‘&’ token
62 | virtual bool getFontData(std::vector<uint8_t>& rData) const = 0;
| ^
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:63:47:
error: ‘uint8_t’ was not declared in this scope
63 | virtual bool getFontToUnicode(std::vector<uint8_t>& rData) const =
0;
| ^~~~~~~
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:63:47:
note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by
adding ‘#include <cstdint>’
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:63:54:
error: template argument 1 is invalid
63 | virtual bool getFontToUnicode(std::vector<uint8_t>& rData) const =
0;
| ^
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:63:54:
error: template argument 2 is invalid
/var/tmp/portage/app-office/libreoffice-26.2.1.2/work/libreoffice-26.2.1.2/include/vcl/filter/PDFiumLibrary.hxx:63:55:
error: expected identifier before ‘&’ token
63 | virtual bool getFontToUnicode(std::vector<uint8_t>& rData) const =
0;
--
You are receiving this mail because:
You are the assignee for the bug.