Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
Either a message on what I did wrong or a running application
What did you see instead?
INFO: compile with `v -live rectangles.v `, if you want to use the [live] function main.init .
INFO: compile with `v -live rectangles.v `, if you want to use the [live] function draw .
==================
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/v_501/rectangles.10328074168220918149.tmp.c:2462:19: error: field has incomplete type 'main__Inhabitant' (aka 'struct main__Bacteria')
main__Inhabitant inhabitant;
^
/tmp/v_501/rectangles.10328074168220918149.tmp.c:111:16: note: forward declaration of 'struct main__Bacteria'
typedef struct main__Bacteria main__Bacteria;
^
/tmp/v_501/rectangles.10328074168220918149.tmp.c:5371:4: warning: expression result unused [-Wunused-value]
(*(int*)_t1.data);
^~~~~~~~~~~~~~~
/tmp/v_501/rectangles.10328074168220918149.tmp.c:15830:4: warning: expression result unused [-Wunused-value]
(*(bool*)_t7.data);
...
==================
(Use `v -cg` to print the entire error message)
builder error:
==================
C error. This should never happen.
This is a compiler bug, please report it using `v bug file.v`.
https://github.com/vlang/v/issues/new/choose
You can also use #help on Discord: https://discord.gg/vlang
V doctor:
What did you do?
v -g -o vdbg cmd/v && vdbg rectangles.v
What did you expect to see?
Either a message on what I did wrong or a running application
What did you see instead?