Skip to content

Error in build related to breakiterator_methods.cpp #75

Description

@jedai47
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions