rnpgp / rnp

RNP: high performance C++ OpenPGP library used by Mozilla Thunderbird
https://www.rnpgp.org
Other
202 stars 55 forks source link

Fails to compile with >=libcxx-19: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>' #2273

Closed nvinson closed 2 months ago

nvinson commented 2 months ago

Description

dev-util/librnp-0.17.1-r1: fails to compile with >=libcxx-19: error: implicit instantiation of undefined template 'std::char_traits\'

Steps to Reproduce

  1. Install clang
  2. Install libcxx-19 (or newer)
  3. build with clang with rtlib set to libcxx
  4. Observe build failure

Expected Behavior

Successful build

Actual Behavior

librnp fails to compile with >=libcxx-19: error: implicit instantiation of undefined template 'std::char_traits\'

This issue comes from Gentoo issue 940012: https://bugs.gentoo.org/940012

nvinson commented 2 months ago

This issue appears to be fixed with commit 20419f739f632fb30666650544f0055e8d4f1afa.