Turn on Werror in the C code
commit336df25caf30d59d3dc7931c5ba9c16def6bc135
authorNeil Mitchell <ndmitchell@gmail.com>
dateWed 3 Jan 2018, 22:37 (9 years ago)
parente875e0a
gen/Main.hs+1−1
@@ -23,7 +23,7 @@ main = do
2323 putStrLn $ rerender src res
2424 writeFileChanged "test.h" $ unlines $ compile html
2525 buildRule ["test.h","test.c"] ["gen" <.> (if isWindows then "exe" else "")] $
26− system_ "gcc test.c -o gen"
26+ system_ "gcc test.c -o gen -Werror"
2727 system_ "gen"
2828
2929writeFileChanged :: FilePath -> String -> IO ()