Public bug reported:

Version 9 of fmtlib, as included in Ubuntu 24.04 LTS, is incompatible
with the GCC 13 release, when using -std=gnu++20 or -std=c++20.

How to reproduce:

cat <<EOM >buggy.cc
#include <fmt/printf.h>
auto test() { return fmt::sprintf("%02x", 123); }
EOM
g++ -Wall -O2 -c -std=gnu++20 buggy.cc


Expected result: Should compile without warnings.
Actual result: 111 lines of compiler warnings.

Version 10 of fmtlib fixes this.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libfmt9 9.1.0+ds1-2
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: tsoffload linkout
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
Date: Wed May 29 14:54:12 2024
InstallationDate: Installed on 2024-01-03 (147 days ago)
InstallationMedia: Ubuntu-Server 22.04.3 LTS "Jammy Jellyfish" - Release amd64 
(20230810)
SourcePackage: fmtlib
UpgradeStatus: Upgraded to noble on 2024-04-12 (47 days ago)

** Affects: fmtlib (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067487

Title:
  Incompatible with GCC 13 and -std=gnu++20

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fmtlib/+bug/2067487/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to