I'm sorry if I did not make myself very clear.
I realize that all versions may support K&R. But with the latest version of Pelles, you have to select C99 or C11--which I don't want. There is no option to select only K&R or ANSI.
I believe in earlier version of Pelles before C11 and C99 existed, you could select K&R or ANSI. I'm asking what version of Pelles has this option.
Thanks.
Pelle's C, in it's latest version will compile ANSI C just fine, after all, C99/C11 are just that, different, newer variations of the standard set by ANSI (with the first official one being referred to as C89).
K&R is a complete different issue all together. considering that ANSI C is out for more than 25 years as a standard, it is outright stupid if not borderline criminal to insist on maintaining K&R style code.
But then most of those warnings you will get with K&R style code are just that warnings, which you can turn off with an appropriate pragma directive...
Ralf