Skip to content

build: constify more to fix gcc-16 / glibc 2.43 builds - #447

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:gcc16const
Closed

build: constify more to fix gcc-16 / glibc 2.43 builds#447
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:gcc16const

Conversation

@vszakats

Copy link
Copy Markdown
Member

Fixing:

trurl.c:1869:12: error: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1869 |       sepw = strchr(w, ' ');
      |            ^

Ref: https://github.com/curl/trurl/actions/runs/29492873600/job/87602928996?pr=446#step:4:12

Reported-by: vpzomtrrfrt on github
Bug: #430 (comment)
Follow-up to 6e1479c #432

Fixing:
```
trurl.c:1869:12: error: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1869 |       sepw = strchr(w, ' ');
      |            ^
```
Ref: https://github.com/curl/trurl/actions/runs/29492873600/job/87602928996?pr=446#step:4:12

Reported-by: vpzomtrrfrt on github
Bug: curl#430 (comment)
Follow-up to 6e1479c curl#432
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

Successfully merging this pull request may close these issues.

1 participant