-
neovim failed during compilation with invalid pointer dereference
../neovim/src/nvim/buffer.h:141: && *ml_get_buf(buf, (linenr_T)1) == '\0';
…
-
Using a `Lua` script shown bellow we can test `cake` against the examples in https://en.cppreference.com/w/c that can be downloaded for offline view here https://en.cppreference.com/w/Cppreference:Arc…
-
chibicc -pthread -o test/alignof.exe test/alignof.o -xc test/common
test/alignof.o:1: ELF
^ tokenize.c: in tokenize : invalid token
-
in zlib project, after compiling with chibicc, the program generates a segmentation fault at execution.
./example
zlib version 1.2.12 = 0x12c0, compile flags = 0xa9
Segmentation fault
Compilin…
-
Optimized Routines' memcmp() function appears to have a bug where it'll overlap a page boundary inappropriately when performing lookahead. The test I'm using which triggers this is:
```c
TEST(memc…
-
Background is https://github.com/lynn/chibicc/issues/9.
The motivation is to let the programmer avoid the performance penalty involved with some signed integer operations. The README should explain…
-
The following code
```c
#include
#define SIZE 10
extern int myarr[SIZE];
int myarr[] = { 11, 34, };
int main(void)
{
for (int i = 0; i < SIZE; ++i)
printf("%d: %d\n", i, …
-
```
[we@pine oneko-uxn]$ ./compile.sh
./oneko-uxn/oneko.c:16:36: error: macro "console_error" passed 1 arguments, but takes just 0
16 | while (*str) console_error(*str++);
| …
-
**Is your feature request related to a problem? Please describe.**
I want to create a Tilck distro, and I need to be able to add files, such as shells and compilers, to the `tilck.img` produced from …
-
This old version of chibicc only has signed integers, whereas apparently the chibicc comparison opcodes (`GTH`, `LTH`) are always unsigned. We don't correct for this right now, so this means `=` are p…