Skip to content

Conversation

@rithma
Copy link

@rithma rithma commented Apr 25, 2017

I keep getting this bug, can we lose the "int stuff"? int stuff isn't in the code in the book...

src/ex30.c:30:5: error: too few arguments to function call, single argument 'stuff' was not specified
    mu_run_test(test_dlopen);
    ^           ~~~~~~~~~~~
src/minunit.h:14:20: note: expanded from macro 'mu_run_test'
    message = test(); tests_run++; if (message) return message;
                   ^
src/ex30.c:3:1: note: 'test_dlopen' declared here
char *test_dlopen(int stuff)
^

your student
/Etienne

I kept getting this bug, can we lose the "int stuff"? int stuff isn't in the book...
-----------------------------------------------------------------
src/ex30.c:30:5: error: too few arguments to function call, single argument 'stuff' was not specified
    mu_run_test(test_dlopen);
    ^           ~~~~~~~~~~~
src/minunit.h:14:20: note: expanded from macro 'mu_run_test'
    message = test(); tests_run++; if (message) return message;
                   ^
src/ex30.c:3:1: note: 'test_dlopen' declared here
char *test_dlopen(int stuff)
^
-----------------------------------------------------------------
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.

1 participant