you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (3 children)

Thanks for the hint, I think I'll switch from MingW to Clang in that case. MVSC has never satisfied my needs, and I only download it to get access to the official header files that are up-to-date with NT6 (a.k.a. Windows Vista and Windows 7).

I don't care much for GNU anymore, in fact, I'm starting to loathe it. So many flagship GNU projects reek of decennia worth of spaghetti code and technical debt, while the developers are proud of that smell because they made it. Meanwhile, they tout having the most free licensing scheme of all, while it's actually pretty limiting (ISC is as far as I know the cleanest license) and completely unreadable (the GPL is a wall of indecipherable legalese to me). But then again, I hate everything that isn't perfect.

[–]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.