missing cstdint include for 4 files: MemoryX.cpp EffectInterface.h MultipartData.cpp UploadService.h Reproducible: Always Steps to Reproduce: select gcc:15 emerge -va1 =media-sound/audacity-3.4.2-r1 Actual Results: FAILED: libraries/lib-utility/CMakeFiles/lib-utility.dir/MemoryX.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DEXPERIMENTAL_CRASH_REPORT -DEXPERIMENTAL_DRAGGABLE_PLAY_HEAD -DEXPERIMENTAL_FULL_WASAPI -DEXPERIMENTAL_HALF_WAVE -DEXPERIMENTAL_KEY_VIEW -DEXPERIMENTAL_MIDI_OUT -DEXPERIMENTAL_MODULE_PREFS -DEXPERIMENTAL_NOISE_REDUCTION -DEXPERIMENTAL_NOTETRACK_OVERLAY -DEXPERIMENTAL_NYQUIST_SPLIT_CONTROL -DEXPERIMENTAL_PUNCH_AND_ROLL -DEXPERIMENTAL_SCIENCE_FILTERS -DEXPERIMENTAL_SCROLLING_LIMITS -DEXPERIMENTAL_SCRUBBING_SCROLL_WHEEL -DEXPERIMENTAL_SCRUBBING_SUPPORT -DEXPERIMENTAL_SPECTRAL_EDITING -DEXPERIMENTAL_THEMING -DEXPERIMENTAL_TWO_TONE_TIME_RULER -DEXPERIMENTAL_ZOOM_TOGGLE_BUTTON -DUTILITY_API="" -D_WX_APP_H_BASE_ -D_WX_BRUSH_H_BASE_ -D_WX_COLOUR_H_BASE_ -D_WX_EVTLOOP_H_ -D_WX_IMAGE_H -D_WX_PEN_H_BASE_ -Dlib_utility_EXPORTS -DwxUSE_GUI=0 -I/var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/libraries/lib-utility -DNDEBUG -march=native -O3 -flto=jobserver -mprefer-vector-width=512 -fno-vect-cost-model -pipe -std=gnu++17 -fPIC -include /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2_build/src/private/configunix.h -DAUDACITY_VERSION=3 -DAUDACITY_RELEASE=4 -DAUDACITY_REVISION=2 -DAUDACITY_MODLEVEL=0 -DAUDACITY_VERSION_STRING=L\"3.4.2\" -DAUDACITY_FILE_VERSION=L\"3,4,2,0\" -Dsafenew=new -DWXINTL_NO_GETTEXT_MACRO -U_DEBUG -DIS_RELEASE -MD -MT libraries/lib-utility/CMakeFiles/lib-utility.dir/MemoryX.cpp.o -MF libraries/lib-utility/CMakeFiles/lib-utility.dir/MemoryX.cpp.o.d -o libraries/lib-utility/CMakeFiles/lib-utility.dir/MemoryX.cpp.o -c /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/libraries/lib-utility/MemoryX.cpp /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/libraries/lib-utility/MemoryX.cpp: In static member function ‘static void* NonInterferingBase::operator new(std::size_t, std::align_val_t)’: /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/libraries/lib-utility/MemoryX.cpp:34:36: error: ‘uintptr_t’ does not name a type 34 | auto integer = reinterpret_cast<uintptr_t>(ptr); | ^~~~~~~~~ /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/libraries/lib-utility/MemoryX.cpp:12:1: note: ‘uintptr_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 11 | #include "MemoryX.h" +++ |+#include <cstdint> 12 | 3 similar errors
Created attachment 900236 [details, diff] #include <cstdint>
Closed #7104 as completed via #7106.
This is still an issue for media-sound/audacity-3.4.2-r1, so patch should maybe be worked into the ebuild for this version or will become a problem with gcc:15 becomes keyword. For, newer 3.7.1 the cstdint patching was worked into upstream.
This version also requires gnu17 env so block c23-porting CFLAGS="${CFLAGS} -std=gnu17"