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

make error #3

Open
nagualcode opened this issue May 28, 2019 · 2 comments
Open

make error #3

nagualcode opened this issue May 28, 2019 · 2 comments

Comments

@nagualcode
Copy link

When trying to make I face:

eop.c: In function ‘loadImage’:
eop.c:38:6: warning: implicit declaration of function ‘endsWith’ [-Wimplicit-function-declaration]
if (endsWith(f_name, ".png"))
^~~~~~~~
eop.c: In function ‘main’:
eop.c:75:32: warning: implicit declaration of function ‘basename’; did you mean ‘rename’? [-Wimplicit-function-declaration]
const char program = (char) basename(argv[0]);
^~~~~~~~
rename

@hex007
Copy link
Owner

hex007 commented Jun 3, 2019

no, it is basename here.

Were you able to compile ?

@nagualcode
Copy link
Author

Despite these warnings, compilation and generated binary works!

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