thradams / cake

Cake a C23 front end and transpiler written in C
http://thradams.com/cake/index.html
GNU General Public License v3.0
553 stars 26 forks source link

Build fixes on Ubuntu 24.04 #207

Closed ethanc8 closed 2 weeks ago

ethanc8 commented 3 weeks ago

The only thing I've found so far is that there's a missing #include <stdlib.h>.

ethanc8 commented 3 weeks ago

Also note that I added some things to .gitignore to ignore clangd-generated files. (clangd is a C/C++ language server which uses Clang and provides Intellisense-like features to vscode).

ethanc8 commented 2 weeks ago

@thradams What's in lib.c? Is it supposed to make such a huge diff when I run ./build?

thradams commented 2 weeks ago

"lib.c" is a amalgamated (all files in one) version of cake. Currently it is only used in the web build.