1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/base64
chai2010 9763167d39 base64: fix build
$ cat hello_world.v
import base64
println('Hello!')

$ v run hello_world.v
============running hello_world==============================
Hello!
10
vlang-zh.cn
chai-mba:examples chai$ v run hello_world.v
println
println
Generating main()...
/Users/chai//.vlang0.0.12//hello_world.c:3783:22: error: used type 'string' (aka 'struct string') where arithmetic or pointer type is required
 return  (/*casttt*/ (string)( /*77*/ str ) ) ;
                     ^       ~~~~~~~~~~~~~~
1 error generated.
V panic: clang error
2019-06-23 09:24:59 +02:00
..
base64.v base64: fix build 2019-06-23 09:24:59 +02:00