refactor: keep Claro in one strict C89 source file

This commit is contained in:
Hermes Agent
2026-10-20 16:12:26 +00:00
parent dd7e8b8b20
commit 8ea2f772cd
59 changed files with 8353 additions and 1289 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ param(
[string]$Out = "claro.exe"
)
Write-Host "Building Claro v1.18.26..." -ForegroundColor Cyan
& $CC "-std=c99" "src\claro.c" "-O0" "-o" $Out "-lm"
Write-Host "Building Claro (C89)..." -ForegroundColor Cyan
& $CC "-std=c89" "-pedantic-errors" "-Werror=implicit-function-declaration" "src\claro.c" "-O0" "-o" $Out "-lm"
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Write-Host "Built: $Out" -ForegroundColor Green