Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in build related to breakiterator_methods.cpp #75

Open
jedai47 opened this issue May 17, 2024 · 0 comments
Open

Error in build related to breakiterator_methods.cpp #75

jedai47 opened this issue May 17, 2024 · 0 comments

Comments

@jedai47
Copy link

jedai47 commented May 17, 2024

In file included from /root/php-7-debian/php-src/ext/intl/breakiterator/breakiterator_methods.cpp:22:
/root/php-7-debian/php-src/ext/intl/breakiterator/codepointiterator_internal.h:42:31: error: conflicting return type specified for ‘virtual UBool PHP::CodePointBreakIterator::operator==(const icu_72::BreakIterator&) const’
   42 |                 virtual UBool operator==(const BreakIterator& that) const;
      |                               ^~~~~~~~
In file included from /root/php-7-debian/php-src/ext/intl/breakiterator/breakiterator_methods.cpp:21:
/usr/include/unicode/brkiter.h:127:18: note: overridden function is ‘virtual bool icu_72::BreakIterator::operator==(const icu_72::BreakIterator&) const’
  127 |     virtual bool operator==(const BreakIterator&) const = 0;
      |                  ^~~~~~~~
In file included from /root/php-7-debian/php-src/ext/intl/breakiterator/breakiterator_class.cpp:23:
/root/php-7-debian/php-src/ext/intl/breakiterator/codepointiterator_internal.h:42:31: error: conflicting return type specified for ‘virtual UBool PHP::CodePointBreakIterator::operator==(const icu_72::BreakIterator&) const’
   42 |                 virtual UBool operator==(const BreakIterator& that) const;
      |                               ^~~~~~~~
In file included from /root/php-7-debian/php-src/ext/intl/breakiterator/breakiterator_class.cpp:21:
/usr/include/unicode/brkiter.h:127:18: note: overridden function is ‘virtual bool icu_72::BreakIterator::operator==(const icu_72::BreakIterator&) const’
  127 |     virtual bool operator==(const BreakIterator&) const = 0;
      |                  ^~~~~~~~
make: *** [Makefile:1183: ext/intl/breakiterator/breakiterator_methods.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant