Skip to content

builder: error on implicit function declaration#26343

Draft
kbkpbot wants to merge 1 commit intovlang:masterfrom
kbkpbot:fix-implicit_function_declaration
Draft

builder: error on implicit function declaration#26343
kbkpbot wants to merge 1 commit intovlang:masterfrom
kbkpbot:fix-implicit_function_declaration

Conversation

@kbkpbot
Copy link
Copy Markdown
Contributor

@kbkpbot kbkpbot commented Jan 13, 2026

Turn implicit function declaration from warning to error.
This help fix issue such as #14783

@kbkpbot kbkpbot linked an issue Jan 13, 2026 that may be closed by this pull request
@kbkpbot kbkpbot marked this pull request as draft January 13, 2026 13:50
@spytheman
Copy link
Copy Markdown
Contributor

Imho that is not necessary.
V already supports -cstrict , which turns many other warnings into errors, including that specific one:
image

@kbkpbot
Copy link
Copy Markdown
Contributor Author

kbkpbot commented Jan 13, 2026

Because -cstrict is not on by default, so I think it is better add -Werror=implicit-function-declaration to compile options.
You can see in some CI fail, for example, the Build Vinix / vinix-build (pull_request), it has implicit declaration of function ‘mount’ .

@kbkpbot
Copy link
Copy Markdown
Contributor Author

kbkpbot commented Jan 13, 2026

@JalonSolov
Copy link
Copy Markdown
Collaborator

Yes, vsql is maintained. Elliot is on the V discord... just posted something recently.

Make an issue for him on the vsql repo.

@kbkpbot
Copy link
Copy Markdown
Contributor Author

kbkpbot commented Jan 14, 2026

Yes, vsql is maintained. Elliot is on the V discord... just posted something recently.

Make an issue for him on the vsql repo.

Thank you. I post some issues at upstream, hope they can be fixed.

@JalonSolov
Copy link
Copy Markdown
Collaborator

Closing/re-opening to force latest V changes to be picked up in new CI run.

@JalonSolov
Copy link
Copy Markdown
Collaborator

Bouncing...

@JalonSolov JalonSolov closed this Mar 21, 2026
@JalonSolov JalonSolov reopened this Mar 21, 2026
@medvednikov medvednikov force-pushed the master branch 2 times, most recently from cdf4550 to 4dc97d9 Compare March 22, 2026 10:27
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.

u64 from C lost high part

3 participants