Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Downloading v.c...
- Attempting to build v.c with GCC...
- vc\v_win.c: In function 'main':
- vc\v_win.c:7426:19: error: incompatible types when assigning to type 'struct array' from type 'int'
- _const_os__args = os__init_os_args(argc, (byteptr *)argv);
- ^
- vc\v_win.c: In function 'os__open':
- vc\v_win.c:10866:7: error: incompatible type for argument 1 of 'string_to_wide'
- .cfile = _wfopen(string_to_wide(path), string_to_wide("rb")),
- ^
- vc\v_win.c:7118:6: note: expected 'string' but argument is of type 'char *'
- u16 *string_to_wide(string _str) {
- ^
- vc\v_win.c: In function 'os__create':
- vc\v_win.c:10878:7: error: incompatible type for argument 1 of 'string_to_wide'
- .cfile = _wfopen(string_to_wide(path), string_to_wide("wb")),
- ^
- vc\v_win.c:7118:6: note: expected 'string' but argument is of type 'char *'
- u16 *string_to_wide(string _str) {
- ^
- vc\v_win.c: In function 'os__get_module_filename':
- vc\v_win.c:10935:15: error: request for member 'typ' in something not a structure or union
- if (status.typ == 93 /* os.SUCCESS */) {
- ^
- vc\v_win.c:10936:7: error: unknown type name 'os__SUCCESS'
- os__SUCCESS *it = (os__SUCCESS *)status.obj; // ST it
- ^
- vc\v_win.c:10936:26: error: 'os__SUCCESS' undeclared (first use in this function)
- os__SUCCESS *it = (os__SUCCESS *)status.obj; // ST it
- ^
- vc\v_win.c:10936:26: note: each undeclared identifier is reported only once for each function it appears in
- vc\v_win.c:10936:39: error: expected expression before ')' token
- os__SUCCESS *it = (os__SUCCESS *)status.obj; // ST it
- ^
- vc\v_win.c: In function 'os__exec':
- vc\v_win.c:10984:23: error: 'os__SECURITY_ATTRIBUTES' undeclared (first use in this function)
- sa.nLength = sizeof(os__SECURITY_ATTRIBUTES);
- ^
- vc\v_win.c:11029:26: error: 'os__PROCESS_INFORMATION' undeclared (first use in this function)
- start_info.cb = sizeof(os__PROCESS_INFORMATION);
- ^
- vc\v_win.c: In function 'internal__compile__find_windows_kit_internal':
- vc\v_win.c:13074:5: error: incompatible types when returning type 'string' but 'Option_string' was expected
- return string_from_wide(value);
- ^
- vc\v_win.c: In function 'internal__compile__find_windows_kit_root':
- vc\v_win.c:13089:7: error: incompatible type for argument 1 of 'string_to_wide'
- string_to_wide("SOFTWARE\\Microsoft\\Windows Kits\\Installed Roots"), 0,
- ^
- vc\v_win.c:7118:6: note: expected 'string' but argument is of type 'char *'
- u16 *string_to_wide(string _str) {
- ^
- gcc failed to compile - Create an issue at 'https://github.com/vlang'
- Exiting from error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement