-
```
#if !1u - 1 > 0
#error
#endif
```
leads to:
```
:2: #error
```
-
Hello!
I am trying to build the repository but facing an issue with the libc_mapping.c file
```
FAILED: CMakeFiles/sloader.dir/libc_mapping.cc.o
/usr/bin/c++ -DC10_USE_GLOG=1 -DGLOG_CUSTOM_PREF…
-
Hi,
First off, following the changes to chibicc is exhilarating! Amazing work you two.
The following suggestion is taking advantage of _not using Harvard Achitecture_, I was wondering if maybe i…
-
The following code:
```c
#define x
x#define y z
y
```
Should expand to:
```c
#define y z
y
```
But instead chibicc expands it to:
```c
z
```
Rationale: ISO/IEC 9899:1999 6.10:
> A pr…
-
I'm trying to see if I can compile rxi's `fe` with `chibicc-uxn`, and the former has a bunch of function pointer typedefs it uses all around the code:
```c
typedef fe_Object* (*fe_CFunc)(fe_Context …
-
Currently all local variables and function arguments get written to and read from an in-memory stack (`@rbp`). This makes for pretty ugly and inefficient assembly. In many cases such variables never h…
-
FreeBSD gives out this rather excluding message when including `stdio.h`:
```
/usr/include/sys/_types.h:135: #error "No support for your compiler for stdargs"
```
It is triggered by is this co…
-
* [「低レイヤを知りたい人のためのCコンパイラ作成入門」読書会(21)](https://c-compiler.connpass.com/event/219050/)のメモです。
* `2021/07/24(土) 13:00-16:00` 開催予定です。
* 内容は以下を予定しています。
* [Cコンパイラ作成集中講座](https://c-2020.slack.com/arc…
-
maybe you can consider make it more secure by adding security flags like PIE, RELRO, PaX, Canaries, ASLR, Fortify.
i dont know if this will make any difference on the performance but in my opinion, i…
-
Will you make it a standard compliant and optimizing C compiler?