For all the more i have been tinkering with, my current set up of code::blocks 12.11 with GCC on windows 7 x64 is working great.
What would you recommend if i wanted 100% compatibility with C99 standards?
Ditto for C11?
For all the more i have been tinkering with, my current set up of code::blocks 12.11 with GCC on windows 7 x64 is working great.
What would you recommend if i wanted 100% compatibility with C99 standards?
Ditto for C11?
For C99, your choices are limited if you truly want 100% compatibility: C99 - Wikipedia, the free encyclopedia.
As for C11, I am not aware of any implementations that are 100% compatible. I would imagine most of the major ones support some of the features added in C11, though which ones will vary form implementation to implementation. You would have to check the implementation's documentation or search the web.
My personal recommendation, in general, is for GCC, however, I have very limited experience with other compilers, so am probably a bit biased in that regard. I also use it exclusively on Linux, so I don't know how the Windows implementation differs. Still, it's done pretty well with every C99 feature I've tried, which is most of them, except type generic math, and I haven't used the complex types much, just to play around.
Honestly though, do you really need 100% compatibility Is there anything from those standards that you absolutely need, that is not covered in your current implementation or any other free implementation.
GCC and Clang have either 100% support for language or something close to that. However, you'll have difficulty finding support from libraries — I don't know any that fully implement the standard C library.
I haven't run it through rigorous testing, but Pelles C seems to be C11 compliant.
My best code is written with the delete key.
Do you know if Pelles C uses the Microsoft runtime, or do they provide their own runtime modules?
Jim
Not anymore...
Tater banned?
Okay, thanks. The reason I asked is because the last time I checked, the default runtime used by gcc on Windows didn't support C99/C11. So even though the compiler supported most of the C99 standard there were problems caused by the runtime library which doesn't support anything but C90. So unless Microsoft starts supporting the current standards you may still have problems with C99/C11 support if you use Windows.
Jim