| Summary: | [EFL] Fix mismatched-tags warnings in UIProcess/API/efl | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> | ||||
| Component: | New Bugs | Assignee: | Csaba Osztrogonác <ossy> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, gyuyoung.kim, ossy | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 145121 | ||||||
| Attachments: |
|
||||||
|
Description
Csaba Osztrogonác
2015-05-18 05:44:47 PDT
The problem is that these symbols are defined as class, but has forward declaration / typedef as structs to be able to use them from C code too. But it is incorrect in C++ code that's why we get this warning. Created attachment 253326 [details]
Patch
I'm not 100% sure if it is the best fix for this issue, but don't have better idea.
(In reply to comment #2) > Created attachment 253326 [details] > Patch > > I'm not 100% sure if it is the best fix for this issue, but don't have > better idea. I considered to add EflTypedefs.h defined in WTF though, now this patch touches public APIs. So I'm not sure if this approach is nice way too. http://trac.webkit.org/browser/trunk/Source/WTF/wtf/efl/EflTypedefs.h If we add EWKTypedefs.h in EFL WK2, many ewk_public header files should include the EWKTypedefs.h. Comment on attachment 253326 [details]
Patch
Nobody has better idea to solve this issue. Let's go ahead.
Comment on attachment 253326 [details] Patch Clearing flags on attachment: 253326 Committed r184710: <http://trac.webkit.org/changeset/184710> All reviewed patches have been landed. Closing bug. |