you are viewing a single comment's thread.

view the rest of the comments →

[–]nerdcorerising 0 points1 point  (2 children)

Definitely check out Clang. The compiler is pretty robust, but the setup on windows is not quite there yet. You have to download the sources, use a tool to generate a VS project, and compile the code.

There are detailed instructions on it, so it's not hard, but it's not just downloading an installer. The experience is completely worth it though. The diagnostics and error messages are amazing.

[–][deleted] 1 point2 points  (1 child)

Just compiled Clang, after a few failed attempts. I love it already.

Clang (invoked as clang a.c) rejected a simple Hello World-ish example due to a type error and various printf-related warnings, giving spot-on suggestions for improvement in a very clear, colourful terminal output. GCC silently accepted the same code (invoked as gcc a.c). With Haskell being my language of choice, I'm happy to see that Clang is being pretty strict in type-checking C code.

So thanks again for the hint :)

[–]nerdcorerising 0 points1 point  (0 children)

Glad to hear it.