Skip to content

Instantly share code, notes, and snippets.

View oyarsa's full-sized avatar

Italo Silva oyarsa

  • London, United Kingdom
View GitHub Profile
@Som1Lse
Som1Lse / build_system_bug.md
Last active June 5, 2021 15:09
A tale of a build system bug

A tale of a build system bug

Prologue

So, for a long time, I've had issues with GCC on Windows. It worked fine, on the first build, but whenever I made changes and wanted to build it again, I would get the following error message

ninja: error: FindFirstFileExA(c/:/path/to/project): The filename, directory name, or volume label syntax is incorrect.

and had to delete the contents of the build directory and build it again from scratch.

Obviously, that was too much of a hassle, so I just used MSVC and ignored it. Recently, I decided to look into it again, and hopefully fix it.