From: <sv...@op...> - 2025-03-29 06:31:50
|
Author: manx Date: Sat Mar 29 07:31:36 2025 New Revision: 23108 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=23108 Log: [Ref] <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109455> is fixed in GCC 12.3. See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366#c20>. Modified: trunk/OpenMPT/soundlib/tuning.cpp Modified: trunk/OpenMPT/soundlib/tuning.cpp ============================================================================== --- trunk/OpenMPT/soundlib/tuning.cpp Fri Mar 28 23:29:01 2025 (r23107) +++ trunk/OpenMPT/soundlib/tuning.cpp Sat Mar 29 07:31:36 2025 (r23108) @@ -70,13 +70,14 @@ CTuning::CTuning() { -#if MPT_GCC_AT_LEAST(12, 0, 0) && MPT_GCC_BEFORE(13, 1, 0) +#if MPT_GCC_AT_LEAST(12, 0, 0) && MPT_GCC_BEFORE(12, 3, 0) // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109455 +// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstringop-overflow" #endif m_RatioTable.resize(s_RatioTableSizeDefault, 1); -#if MPT_GCC_AT_LEAST(12, 0, 0) && MPT_GCC_BEFORE(13, 1, 0) +#if MPT_GCC_AT_LEAST(12, 0, 0) && MPT_GCC_BEFORE(12, 3, 0) #pragma GCC diagnostic pop #endif } |