Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build with gcc-15 #693

Open
wants to merge 1 commit into
base: Piers
Choose a base branch
from
Open

Fix build with gcc-15 #693

wants to merge 1 commit into from

Conversation

heitbaum
Copy link

@heitbaum heitbaum commented Dec 8, 2024

Fixes

[44/46] Building CXX object CMakeFiles/pvr.hts.dir/src/tvheadend/HTSPVFS.cpp.o
FAILED: CMakeFiles/pvr.hts.dir/src/tvheadend/HTSPVFS.cpp.o 
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_GLOBAL_VERSION_NETWORK_USED -DADDON_GLOBAL_VERSION_TOOLS_USED -DADDON_INSTANCE_VERSION_INPUTSTREAM_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_hts_EXPORTS -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/pvr.hts-22.6.0-Piers/lib -march=x86-64-v3 -Wall -pipe  -O2 -fomit-frame-pointer -DNDEBUG -std=c++17 -fPIC   -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.hts.dir/src/tvheadend/HTSPVFS.cpp.o -MF CMakeFiles/pvr.hts.dir/src/tvheadend/HTSPVFS.cpp.o.d -o CMakeFiles/pvr.hts.dir/src/tvheadend/HTSPVFS.cpp.o -c /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/pvr.hts-22.6.0-Piers/src/tvheadend/HTSPVFS.cpp
In file included from ../src/tvheadend/HTSPVFS.cpp:8:
../src/tvheadend/HTSPVFS.h:36:3: error: 'uint32_t' does not name a type
   36 |   uint32_t GetFileId() const { return m_fileId; }
      |   ^~~~~~~~
../src/tvheadend/HTSPVFS.h:12:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   11 | #include <string>
  +++ |+#include <cstdint>
   12 | 
../src/tvheadend/HTSPVFS.h:59:3: error: 'uint32_t' does not name a type
   59 |   uint32_t m_fileId;
      |   ^~~~~~~~
../src/tvheadend/HTSPVFS.h:59:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'

Copy link
Member

@ksooo ksooo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

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.

2 participants