Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer K&R C #3

Open
rdebath opened this issue May 22, 2016 · 1 comment
Open

No longer K&R C #3

rdebath opened this issue May 22, 2016 · 1 comment

Comments

@rdebath
Copy link

rdebath commented May 22, 2016

The initial import could be compiled using a (non ANSI) K&R C compiler. That no longer works.

It would be nice if your clean-up didn't break that.

@brhamon
Copy link
Contributor

brhamon commented Jan 30, 2018

It's tricky to find a K&R C compiler these days, but it is possible to make GCC enforce ISO9899:1990 ("ANSI C"). I've made this change on my fork.

I agree it's important to retain the sources original charm, but it's also nice to be able to build it (without compiler warnings) on systems in widespread use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants