URL:
  <https://savannah.gnu.org/bugs/?68762>

                 Summary: groff 1.24.2 fails to build with libcxx-23:
src/roff/troff/env.cpp:265:3: error: use of undeclared identifier 'qsort'
                   Group: GNU roff
               Submitter: listout
               Submitted: Thu 08 Oct 2026 09:23:45 AM UTC
                Category: General
                Severity: 3 - Normal
              Item Group: Build/Installation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 08 Oct 2026 09:23:45 AM UTC By: Brahmajit Das <listout>
Found this build error while building groff with clang and libcxx 23 (on
Gentoo's LLVM profile)

Snippet from the build log:

src/roff/troff/env.cpp:265:3: error: use of undeclared identifier 'qsort'
  265 |   qsort(size_list, nranges, sizeof(size_range), compare_ranges);
      |   ^~~~~
src/roff/troff/env.cpp:1307:16: error: use of undeclared identifier 'strtol'
 1307 |     long val = strtol(s.contents(), NULL, 10);
      |                ^~~~~~

Full build log can be found in the downstream bug;
https://bugs.gentoo.org/983511







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68762>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to