[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1043011: clazy: Incompatibility with gcc/libstdc++ version 13



Package: clazy
Version: 1.11-4
Severity: important
X-Debbugs-Cc: joubert.sy@gmail.com

Dear Maintainer,

Using clazy on Debian testing with the newly updated libstdc++ to version 13 I
now get the following error:

/usr/bin/../lib/gcc/x86_64-linux-
gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval
function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant
expression
        static constexpr unsigned fractional_width = {_S_fractional_width()};
                                                      ^

I believe this is due to the use of an older clang/llvm version (14) that does
not properly/completely implements 'consteval'.
Updating the used clang/llvm to a newer version should fix the issue.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'stable-updates'), (800, 'stable'), (700, 'unstable'), (90, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages clazy depends on:
ii  clang-14        1:14.0.6-12
ii  libc6           2.37-6
ii  libclang-cpp14  1:14.0.6-12
ii  libgcc-s1       13.1.0-9
ii  libllvm14       1:14.0.6-12
ii  libstdc++6      13.1.0-9

clazy recommends no packages.

clazy suggests no packages.

-- no debconf information


Reply to: