Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2024 14:12:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281441] devel/efl: fix build with clang 19
Message-ID:  <bug-281441-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 281441
           Summary: devel/efl: fix build with clang 19
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: enlightenment@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(enlightenment@FreeBSD.org)
          Assignee: enlightenment@FreeBSD.org

Clang 19 is more strict about errors in member functions, which results
in:

  ../src/bindings/cxx/eina_cxx/eina_string_view.hh:184:77: error: no member
named 'lenght' in 'basic_string_view<CharT, Traits>'; did you mean 'length'?
    184 |       return iter =3D=3D crend() ? npos : reverse_distance(crbegi=
n(),
iter) - s.lenght();
        |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      ^~~~~~
        |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      length
  ../src/bindings/cxx/eina_cxx/eina_string_view.hh:90:14: note: 'length'
declared here
     90 |    size_type length() const noexcept { return _len; }
        |              ^
  ../src/bindings/cxx/eina_cxx/eina_string_view.hh:192:77: error: no member
named 'lenght' in 'basic_string_view<CharT, Traits>'; did you mean 'length'?
    192 |       return iter =3D=3D crend() ? npos : reverse_distance(crbegi=
n(),
iter) - s.lenght();
        |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      ^~~~~~
        |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      length
  ../src/bindings/cxx/eina_cxx/eina_string_view.hh:90:14: note: 'length'
declared here
     90 |    size_type length() const noexcept { return _len; }
        |              ^

This is an obvious typo, fixed by upstream in
<https://git.enlightenment.org/enlightenment/efl/commit/6c3630ffda>.

--=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-281441-7788>