dsp56300/gearmulator

Include <cstdint> missing

Closed this issue · 0 comments

In file included from /home/chris/src/audio/00-plugins/gearmulator/source/jucePluginLib/pluginVersion.cpp:1:
/home/chris/src/audio/00-plugins/gearmulator/source/jucePluginLib/pluginVersion.h:10:24: error: 'uint32_t' does not name a type
   10 |                 static uint32_t getVersionNumber();
      |                        ^~~~~~~~
/home/chris/src/audio/00-plugins/gearmulator/source/jucePluginLib/pluginVersion.h:3:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    2 | #include <string>
  +++ |+#include <cstdint>
    3 | 
In file included from /home/chris/src/audio/00-plugins/gearmulator/source/jucePluginLib/pluginVersion.cpp:3:
/home/chris/src/audio/00-plugins/gearmulator/source/jucePluginLib/version.h:4:18: error: 'uint32_t' does not name a type
    4 | static constexpr uint32_t g_pluginVersion = 10000 * 1 + 100 * 3 + 15;
      |                  ^~~~~~~~
/home/chris/src/audio/00-plugins/gearmulator/source/jucePluginLib/version.h:1:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  +++ |+#include <cstdint>
    1 | #pragma once
/home/chris/src/audio/00-plugins/gearmulator/source/jucePluginLib/pluginVersion.cpp:13:9: error: 'uint32_t' does not name a type
   13 |         uint32_t Version::getVersionNumber()
      |         ^~~~~~~~
/home/chris/src/audio/00-plugins/gearmulator/source/jucePluginLib/pluginVersion.cpp:5:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    4 | #include "versionDateTime.h"
  +++ |+#include <cstdint>
    5 | 
make[2]: *** [source/jucePluginLib/CMakeFiles/jucePluginLib.dir/build.make:265: source/jucePluginLib/CMakeFiles/jucePluginLib.dir/pluginVersion.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1698: source/jucePluginLib/CMakeFiles/jucePluginLib.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
$ LC_ALL=C gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++,rust --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.1.1 20240522 (GCC)