vlang / ui

A cross-platform UI library written in V
MIT License
2.32k stars 154 forks source link

Almost all UI examples produce warning: default value of `0` for references can only be used inside `unsafe` #463

Open kpeters58 opened 2 years ago

kpeters58 commented 2 years ago

V version: V 0.3.0 UI version: How do I get that one? Installed it today - so today's! OS: Win 10

What did you do? Tried to run various examples.

What did you expect to see? Compiles w/o any errors/warnings

What did you see instead? Almost all examples generate this warning: default value of 0 for references can only be used inside unsafe Calculator example is fine.

metif12 commented 1 year ago

v is in beta and it keep evolving. sometimes v project are not updated with latest changes but they would finally be fix. and there are test that insure v ui compile with latest changes. but warnings are accepted.