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

Avoid implicit ints and implicit function declarations #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fweimer-rh
Copy link

These language features have been removed from C in 1999. Future compilers are likely to stop accepting these constructs by default.

Related to:

These language features have been removed from C in 1999.  Future
compilers are likely to stop accepting these constructs by default.
@chrstphrchvz
Copy link
Contributor

I concur that these issues should be addressed, as #79 and #80 are alternative approaches for some of them (e.g. adding #include <stdlib.h> rather than replacing exit(…) with return …).

Also note that if Perl/Tk ever intends to build with -std=c2x or later, then K&R-style definitions will have to be removed entirely.

@eli-schwartz
Copy link

It looks like a big part of the issue is actually just bundling a decrepit code copy of tk.

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

Successfully merging this pull request may close these issues.

None yet

3 participants