Build failure with recent gcc
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- c
- Domain
- build-system
Research direction
Start in ios_webkit_debug_proxy.c at iwdp_get_content_type around line 1974 and reproduce the failure with gcc 15.2.1. Review the reported const-qualification diagnostic and verify the project builds successfully with warnings treated as errors.
Written by the indexing model from the issue text.
Description
Hello,
Version 1.9.2 fails to build with gcc version 15.2.1 20260209 (GCC) with following error:
ios_webkit_debug_proxy.c: In function ‘iwdp_get_content_type’:
ios_webkit_debug_proxy.c:1974:18: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
1974 | char *fext = strrchr(path, '.');
| ^~~~~~~
- Dominant language
- C
- Stars
- 6.2k
- Forks
- 482
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/ios-webkit-debug-proxy
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
google/ios-webkit-debug-proxy#439 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
google/ios-webkit-debug-proxy#436 · 1 comment ·
-
CSS domain commands (CSS.enable, CSS.getAllStyleSheets) hang with no response through Target routing Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
google/ios-webkit-debug-proxy#434 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
google/ios-webkit-debug-proxy#431 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
google/ios-webkit-debug-proxy#426 · 6 comments ·
All issues in google/ios-webkit-debug-proxy
Similar issues
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·