Odin
Odin copied to clipboard
Odin Programming Language
## Context Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. Odin: dev-2022-07:4af8a645 OS: Ubuntu 20.04...
If the foreign system understands LLVM bitcode files, then *any* library compiled by LLVM to LLVM bitcode will be ready for LTO opportunities in Odin programs (I don't know what...
## Context I am using a modified version of the [Odin SDL Library](https://github.com/JoshuaManton/odin-sdl2). My fork is located [here](https://github.com/F0x1fy/odin-sdl2). My fork adds in functions for blitting, as well as fixing a...
## Context I was working with Vulkan library and come across this weird behaviour that might be a bug. It's scoped to usage of "core:c" module for types. * I...
## Context Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. * Operating System & Odin...
This thing shouldn't compile: ```odin Message :: struct { id: int, type: union { Resize_Message, }, } // depending if `type: int` is declared before or after `message`, you get...
* Operating System & Odin Version: Windows x64, `odin.exe version dev-2022-03:bff5a67f` ```odin package test import "core:fmt" main :: proc() { Slice16 :: #relative(u16) []byte a := [4]byte{1, 2, 3, 4}...
## Context This program does not build ```odin package main main :: proc() { } ``` when the target is either `wasi_wasm32`, `js_wasm32` or `freestanding_wasm32`. Build command: ```sh $ odin...
## Context Odin: dev-2022-03:ae644118 OS: Windows 10 Professional (version: 21H1), build 19043.1586 CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz RAM: 16338 MiB ### Steps to Reproduce ```odin //test.odin package main...
```odin package bug2 import win32 "core:sys/windows" backbuffer: win32.BITMAPINFO main :: proc() { backbuffer.bmiHeader.biSize = size_of(win32.BITMAPINFO.bmiHeader) } ``` Compiler error: ``` 'win32.BITMAPINFO' of type 'BITMAPINFO' has no field 'bmiHeader' Suggestion: Did...