maintainer-feedback requested: [Bug 281441] devel/efl: fix build with clang 19
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 281441] devel/efl: fix build with clang 19"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Sep 2024 14:12:37 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-enlightenment (Nobody) <enlightenment@FreeBSD.org> for maintainer-feedback: Bug 281441: devel/efl: fix build with clang 19 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281441 --- Description --- 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 == crend() ? npos : reverse_distance(crbegin(), iter) - s.lenght(); | ^~~~~~ | 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 == crend() ? npos : reverse_distance(crbegin(), iter) - s.lenght(); | ^~~~~~ | 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>.