Evan Haas

Results 63 issues of Evan Haas

Build system updates, new cpu + OS's, and removing the use of a deprecated function from `std.Target` for calculating _BitInt alignment.

The Index trait for Captures panics if there is no match at a given index. Closes #193

We render the current time for `__TIMESTAMP__` but it is supposed to be "the date and time of the last modification of the current source file" https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html Related: #239

bug

Requested by @alexrp Prints _Static_asserts for the size and alignment of all the basic built-in C types. The output can be run through a compiler for the specified target to...

### Zig Version 0.14.0-dev.1247+8fc15f188 ### Steps to Reproduce and Observed Behavior Run `zig build-exe` on the following program: ```zig const std = @import("std"); const E = enum { a, b,...

bug

The idea behind this is to prepare for #733 by making typeof and attributed types slightly less annoying to deal with, by moving the recursive call logic to a single...

Duplicate typedefs should be allowed if they're equal. This one is weird; it seems it only happens for `long` (not `long int` or `unsigned long` or any other specifier): ```c...

bug

Briefly discussed here https://github.com/Vexu/arocc/pull/433#issuecomment-1324825394 This would add a new field `.typedef` to `Type.Specifier` with an associated data `*Typedef`, with `Typedef` defined as: ```zig const Typedef = struct { name: StringId,...

enhancement

This is a rewrite of the Preprocessor, based on the algorithm described in https://www.spinellis.gr/blog/20060626/cpp.algo.pdf Main inspiration was that the existing one doesn't work with some more esoteric cases, such as...

```c struct __attribute__((packed)) Foo { int x; }; struct Foo foo; int *p = &foo.x; ``` ``` test.c:5:11: warning: taking address of packed member 'x' of class or structure 'Foo'...

enhancement
good first issue