Skip to content

Support gcc 10+ toolchains in accessibility headers - #191

Merged
JSUYA merged 2 commits into
flutter-tizen:masterfrom
JSUYA:fix/gcc14-a11y-compat
Aug 6, 2026
Merged

Support gcc 10+ toolchains in accessibility headers#191
JSUYA merged 2 commits into
flutter-tizen:masterfrom
JSUYA:fix/gcc14-a11y-compat

Conversation

@JSUYA

@JSUYA JSUYA commented Aug 4, 2026

Copy link
Copy Markdown
Member

gcc 9.2.0 (Tizen 6.0/6.5/8.0) compiles these headers as-is, gcc 10 and later do not. Verified clean at -std=c++17 -Werror against gcc 9.2.0 (arm, arm64, x64 sysroots), libstdc++ 10, 11, 12, 13 and gcc 14.2.0 (Tizen 11.0 arm64).

AXEventGenerator::Iterator now matches the current Chromium implementation, which spells out the five iterator_traits typedefs instead of deriving from the deprecated std::iterator: https://source.chromium.org/chromium/chromium/src/+/main:ui/accessibility/ax_event_generator.h

gcc 9.2.0 (Tizen 6.0/6.5/8.0) compiles these headers as-is, gcc 10 and
later do not. Verified clean at -std=c++17 -Werror against gcc 9.2.0
(arm, arm64, x64 sysroots), libstdc++ 10, 11, 12, 13 and gcc 14.2.0
(Tizen 11.0 arm64).

AXEventGenerator::Iterator now matches the current Chromium
implementation, which spells out the five iterator_traits typedefs
instead of deriving from the deprecated std::iterator:
https://source.chromium.org/chromium/chromium/src/+/main:ui/accessibility/ax_event_generator.h
@JSUYA JSUYA self-assigned this Aug 4, 2026
@JSUYA JSUYA added the enhancement New feature or request label Aug 4, 2026
@seungsoo47

Copy link
Copy Markdown
Contributor

It seems that AXRange::Iterator in ax_range.h uses std::iterator.
Please revise the necessary parts after reviewing.

@JSUYA

JSUYA commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

It seems that AXRange::Iterator in ax_range.h uses std::iterator. Please revise the necessary parts after reviewing.

I added more commit. thanks

@JSUYA
JSUYA merged commit f256969 into flutter-tizen:master Aug 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants