-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
V should fail itself, when it detects that either of the parallel C compilation commands failed, and
when it detects that the final serial linking command failed.
Instead, it finished with exit code 0.
Any program that uses sokol
currently leads to that, which is a separate problem.
I think, the root cause, is that sokol and other libraries like it, require that only a single .c file have their implementation symbols (see vlib/sokol/c/declaration.c.v:59:#define SOKOL_IMPL
), but the current split makes it so that this define is present in several .c files, not just one => the headers are expanded into their implementation version, not their declarative one).
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.