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 test-state fails with file not compiling #27

Open
j605 opened this issue Aug 28, 2017 · 1 comment
Open

make test-state fails with file not compiling #27

j605 opened this issue Aug 28, 2017 · 1 comment

Comments

@j605
Copy link

j605 commented Aug 28, 2017

./state-test.c: In function ‘test_update_cursor’:
./state-test.c:15:3: warning: implicit declaration of function ‘update_cursor_position’ [-Wimplicit-function-declaration]
   update_cursor_position(st);
   ^~~~~~~~~~~~~~~~~~~~~~
./state-test.c: In function ‘test_update_display’:
./state-test.c:29:3: warning: implicit declaration of function ‘update_display’; did you mean ‘test_update_display’? [-Wimplicit-function-declaration]
   update_display(st);
   ^~~~~~~~~~~~~~
   test_update_display

I found a function called update_state in state.h that might be the update_display you refer to in the test. For the second error, update_display is in state.c but I don't how it can be made visible by including just state.h in the test.

@lpan
Copy link
Owner

lpan commented Aug 28, 2017

Yeah I haven't gotten a chance to fix state-test 😛

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