Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2025 11:45:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 284096] cad/freecad fix build with clang 19
Message-ID:  <bug-284096-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284096

            Bug ID: 284096
           Summary: cad/freecad fix build with clang 19
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cmt@freebsd.org
          Reporter: kwhite.uottawa@gmail.com
          Assignee: cmt@freebsd.org
             Flags: maintainer-feedback?(cmt@freebsd.org)

Created attachment 256730
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256730&action=
=3Dedit
char_traits patch

cad/freecad fails to build with errors like:

In file included from
/wrkdirs/usr/ports/cad/freecad/work/FreeCAD-1.0.0/src/CXX/Python3/Exception=
.hxx:47:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefin=
ed
template 'std::char_traits<unsigned int>'
  820 |   static_assert(is_same<_CharT, typename
traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/cad/freecad/work/FreeCAD-1.0.0/src/CXX/Python3/Objects.h=
xx:2233:20:
note: in instantiation of template class 'std::basic_string<unsigned int>'
requested here
 2233 |         ucs4string as_ucs4string() const
      |                    ^

A possible fix is provided in https://github.com/FreeCAD/FreeCAD/issues/179=
87

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284096-7788>