[Bug 282437] Latest clang upgrade causes a new C++ failure: the function isn't found wen it is present: no member named 'construct' in 'optional<type-parameter-0-0 &>' (port cad/librepcb)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Oct 2024 23:48:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282437

            Bug ID: 282437
           Summary: Latest clang upgrade causes a new C++ failure: the
                    function isn't found wen it is present: no member
                    named 'construct' in 'optional<type-parameter-0-0 &>'
                    (port cad/librepcb)
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

There is this new build failure on CURRENT that started after clang was
updated.

The log:
https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p332c73b035e3_sf377a0c7dfa/logs/librepcb-1.1.0_1.log

The error message:
> In file included from /wrkdirs/usr/ports/cad/librepcb/work/librepcb-1.1.0/libs/librepcb/core/3d/../geometry/../serialization/../types/uuid.h:30:
> /wrkdirs/usr/ports/cad/librepcb/work/librepcb-1.1.0/libs/optional/tl/optional.hpp:1989:11: error: no member named 'construct' in 'optional<type-parameter-0-0 &>'
>  1989 |     this->construct(std::forward<Args>(args)...);
>       |     ~~~~  ^
> 1 error generated.


The function "construct" does exist in this class, so it looks like a wrong
error.

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