- Windows 10 x64
- Hello World
| import "fmt.odin";
main :: proc() {
fmt.println("Hello Odin World :D");
}
|
- demo.odin:
https://gist.github.com/enurlyx/3...2f036d8b3a39085150#file-demo-odin
- visual studio 2015
- CMD: VS2015 x64 Native Tools Command Prompt
- Compiled github version: Tag v0.6.0
EDIT:
Its calling the following way:
| odin!Array<gbThread>::operator[](int64 index = 0n2)+0x5e [c:\users\enurlyx\desktop\odin-0.6.0\src\array.cpp @ 14]
odin!parse_files(struct Parser * p = 0x000000df`78efe7d0, struct String * init_filename = 0x000000df`78efe690)+0x61f [c:\users\enurlyx\desktop\odin-0.6.0\src\parser.cpp @ 5103]
odin!main(int arg_count = 0n3, char ** arg_ptr = 0x000002a5`93f09070)+0x768 [c:\users\enurlyx\desktop\odin-0.6.0\src\main.cpp @ 489]
odin!invoke_main(void)+0x34 [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 65]
odin!__scrt_common_main_seh(void)+0x127 [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 253]
odin!__scrt_common_main(void)+0xe [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 296]
odin!mainCRTStartup(void)+0x9 [f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp @ 17]
KERNEL32!BaseThreadInitThunk+0x14
ntdll!RtlUserThreadStart+0x21
|